aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-10-24bup [amend me]faster-spexRobert
2017-10-23Faster Spex.Robert
By using FactoryGirls's build strategy :build in associations the time penalty of using FactoryGirl instead of ActiveRecord stubs is down to a factor < 2.
2017-10-21Added meta tests for FactoryGirl support tooRobert
2017-10-21Faster SpexRobert
- Clean object cache before each example with type :faster - Started to work on FactroyGirl integration N.B. While FactoryGirl support right now only includes defaults it slows down the ActiveRecord based stubbing by a factor of ~2.5 which might be fixable if worth it.
2017-10-20Benchmarks of the stubbed modelsRobert
Run with N=..., NO_RCOV= bundle exec spring rspec --example 'stubbed' ./spec/models/faster_specs_spec.rb or N=..., NO_RCOV= bundle exec spring rspec --example 'in DB' ./spec/models/faster_specs_spec.rb the benchmark result in seconds were: N: | 10 | 20 | 40 | 80 | ------------+-------+-------+-------+-------+ 'in DB' | 32 | 59 | 116 | 230 | ------------+-------+-------+-------+-------+ 'stubbed' | 3.4 | 3.5 | 3.9 | 4.5 | ------------+-------+-------+-------+-------+ Considering warm up times that gives stubbed ~0.01s/N and in DB ~2.8s/N or a factor of ~280
2017-10-20A promising approach to complete db stubbingRobert
2017-10-20Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-19Merge pull request #97 from af83/4741-clone_compliance_control_setteddywing
add clone method in compliance_control_sets_controller, add duplicate…
2017-10-19prefer current_organisation.id for organisation_id param in copy method in ↵Guillaume
ComplianceControlSetCloner class
2017-10-19modify UI for bottom buttons actions on compliance_control_sets#show, add ↵Guillaume
new locales Refs #4752
2017-10-19Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-19move begin_of_association_chain to protected method Refs #4741Guillaume
2017-10-18add edit button on IHM show for edit compliance_controls Refs #4729Guillaume
2017-10-18Fix spec validation failed on contriance control sti subclassesXinhui
2017-10-18add clone method in compliance_control_sets_controller, add duplicate button ↵Guillaume
to IHM and flash message Refs #4741
2017-10-17Compliance Control set min level of criticityXinhui
Refs #4730
2017-10-17Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-17add new picto for header compliance_control_sets, compliance_controls, ↵Guillaume
compliance_control_blocks Refs #4729
2017-10-17updated INSTALL.md for WebpackRobert
2017-10-17Merge pull request #95 from af83/4727-clone-compliance-control-setLuc Donnet
4727 clone compliance control set
2017-10-17Fix time_tables#index tags form should display searched tags on submitXinhui
Refs #4711
2017-10-17Fixes: #4727@0.1h; Added organisation to clone for and rebased master4727-clone-compliance-control-setRobert
2017-10-17Fixes: #4727@0.5h; Worker speced and implementedRobert
2017-10-17Refs: #4727@2h; Debugged test setup to comply to new validationRobert
2017-10-17Refs: #4727@3h; Specing and implementing lib function to clone ↵Robert
ComplianceControlSet
2017-10-17Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-17add ci jest task Refs #4737Guillaume
2017-10-17Merge branch 'master' of https://github.com/af83/stif-boivGuillaume
2017-10-17fix ci spec task Refs #4737Guillaume
2017-10-17Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-17Change routing constaint zone control default codescedricnjanga
2017-10-16Fix spec compliance_controls and factoriesLuc Donnet
2017-10-16Uncomment presence validation on generic attribute control Refs #4728Luc Donnet
2017-10-16Fix build resource creation for compliance_control Refs #4728Luc Donnet
2017-10-16Merge branch 'master' of https://github.com/af83/stif-boivGuillaume
2017-10-16add jest for js test, fix js test errors, remove unused config in ↵Guillaume
config/environement
2017-10-16Change default code to toute control / stop point in JPcedricnjanga
2017-10-16Fix translation parsing errorcedricnjanga
2017-10-16Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-16Merge branch 'master' of github.com:af83/stif-boivcedricnjanga
2017-10-16Refs 4722 Add arguments to Compliance Control translationscedricnjanga
2017-10-16Refs #4722 Comlpiance Control translationscedricnjanga
2017-10-16Fix test spec/lib/compliance_control_set_copier_spec.rb due to uniqueness of ↵Luc Donnet
compliance_control code Refs #4731
2017-10-16migratedRobert
2017-10-16Merge branch 'master' of github.com:af83/stif-boivRobert
2017-10-16Fix uniqueness for code in compliance_control_set Refs #4731Luc Donnet
2017-10-16Hotfix correctionRobert
2017-10-16Hotfix deactivated pending testsRobert
2017-10-16Merge pull request #93 from af83/4720-compliance-contorl-subclass-valuesRobert Dober
4720 compliance contorl subclass values
2017-10-16Fixes: #4270@0.1h; removed pattern validationRobert