Commit Graph

115 Commits

Author SHA1 Message Date
Sofiya Tepikin c1959962d0 Splits the rest of the tests without modifying them 2020-03-14 14:46:35 +01:00
Sofiya Tepikin 5b2dc82218 Moves out the test for getCyclesBefore method of cycle module 2020-03-14 13:17:30 +00:00
Sofiya Tepikin 64a4c8c455 Moves out the test for getPReviousCycle method of cycle module 2020-03-14 11:40:04 +00:00
Sofiya Tepikin 9e34c1b8b4 Adds test and fixes getCycleByStartDate method of cycle module 2020-03-05 19:31:52 +01:00
Sofiya Tepikin 0e0e00948f Moves out the tests for getCycleDayNumber and organises them 2020-03-03 22:13:53 +01:00
Julia Friesel 963e0ffea0 Add remaining tests for maybeSetNewCycleStart 2020-02-04 12:11:23 +01:00
Julia Friesel 009c8fa0f2 Add test for deleted bleeding value 2020-02-04 11:51:35 +01:00
Julia Friesel f1ca709f25 Add test for missing mucus vaues 2019-05-13 12:49:37 +02:00
Julia Friesel efca6f0d47 dirty-chai 2019-02-02 18:39:50 +01:00
Julia Friesel b7b6f98bad Change values 2019-01-09 09:21:42 +01:00
Julia Friesel fb6dc9b061 Merge branch '268-sympto-respect-max-cycle-length' into 'master'
Resolve "sympto: respect max cycle length"

Closes #268

See merge request bloodyhealth/drip!142
2019-01-05 09:50:43 +00:00
Julia Friesel c47e453882 Make mac cycle length test more meaningful 2019-01-04 18:59:28 +01:00
Julia Friesel 8d7fa268de Fix cycle length in getCycle 2019-01-04 14:33:13 +01:00
Julia Friesel 7f93ba154d Add test for getPredictedMenses 2018-12-21 15:30:48 +01:00
Julia Friesel 1f2801a83b Make getCycleLenghts filter for max cycle length 2018-12-21 15:30:48 +01:00
Julia Friesel 9fd0105506 Respect macCycleLength in getCyclesBefore 2018-12-21 15:30:48 +01:00
Julia Friesel 9bd0eedfaf Add test for getCycleDayNumber 2018-12-21 15:30:48 +01:00
Julia Friesel 6b0d202272 Respect maxcyclelength in getCycleForStartDay 2018-12-21 15:30:48 +01:00
Julia Friesel 2c48d59f54 Rename module 2018-12-21 08:43:52 +01:00
Julia Friesel 3b09d93a47 Add comments and rename things for clarity 2018-11-01 15:06:18 +01:00
Julia Friesel de674590e2 Make getMensesDaysAfter work for non-bleeding day too 2018-10-25 15:06:22 +02:00
Julia Friesel 5e8bc0a3e8 Add test for getPreviousCycle 2018-10-25 09:30:44 +02:00
Julia Friesel 9188d84797 Use new isCycleStartFunctions throughout cycle module 2018-10-25 09:18:25 +02:00
Julia Friesel c2c0e0c6a2 Add getMensesDaysAfter 2018-10-23 17:38:26 +02:00
Julia Friesel 2b2e24bb5c Add isMensesStart 2018-10-23 16:24:17 +02:00
Julia Friesel de4d39557e Add test for getAllMensesStart speed 2018-10-20 09:46:55 +02:00
Julia Friesel 1aeaac8504 Don't do duplicate work in getLastMensesStart 2018-10-20 09:46:55 +02:00
Julia Friesel 61275e83a0 Ignore temp drop after 3 regular high temps 2018-10-01 18:58:02 +02:00
emelko a1eddb3cbe Adds test for mucus and temp tracking:
* late mucus shift and therefore no postovu phase
2018-10-01 11:42:22 +02:00
emelko 855b69a349 Adds test for:
* latest valid cervix shift
* late and therefore invalid cervix shift
2018-10-01 08:57:22 +02:00
Julia Friesel 562b1f2069 Fix copypasta 2018-09-28 19:48:18 +02:00
Julia Friesel fa3a6fb2e7 Ignore secondary symptom peak after end of temperature evaluation 2018-09-28 15:51:53 +02:00
emelko 19d4743d0e Leaves out position value for db fixtures and test data 2018-09-20 21:00:43 +02:00
emelko 0747a07aac Adding cervix-temp tests * when args are wrong * testing minus-8 rule 2018-09-19 10:43:56 +02:00
emelko 76056e1db0 Improving cervix:
* adding tempEvalEnd value to cervix tests
* more comments in code for cervix sympto
* better description in cervix temp tests
* take out cervix.value
2018-09-13 09:54:13 +02:00
emelko 3f5c86086d Renaming test cycles for cervix+temp to be more explicit abt what they do 2018-09-10 12:28:54 +02:00
emelko 2f42840faa Revert "Renaming test cycles to be more explicit abt what they do"
This reverts commit 969da1d163.
2018-09-10 12:09:37 +02:00
emelko 1b0d04dfc0 Fixing cervix unit tests 2018-09-08 14:47:31 +02:00
emelko ab2dd76bf4 Liberating a forgotten .only from tests 2018-09-08 13:27:38 +02:00
emelko 969da1d163 Renaming test cycles to be more explicit abt what they do 2018-09-08 13:22:17 +02:00
emelko 5cb4c01cec First 9 tests for cervix temp combination 2018-09-07 19:49:52 +02:00
emelko 0b856e298a Symptom values must have exclude: false for tests; consistency for defining functions 2018-09-07 19:49:03 +02:00
emelko d16feb6d58 Renaming cervixPeak in cervixPeakBeforeShift bc it mustn't be the highest cervix value 2018-09-05 16:03:27 +02:00
emelko 1c2c45f8c6 Changes cervix value to check for opening and firmness value 2018-09-05 15:27:04 +02:00
emelko 21d6e24f23 Add more details to cervix-temp fixtures and to mucus-temp spec 2018-09-03 11:23:50 +02:00
emelko 9e1393766a Split fixtures into temp & mucus and temp & cervix files
Add first blueprint for temp&cervix tests
2018-09-03 11:16:14 +02:00
emelko 60d6e21c57 Detects cervix shift in one happy path; including test 2018-09-03 11:11:33 +02:00
emelko 3ff7dd7340 Merge branch 'master' 2018-09-03 10:55:27 +02:00
tina 8a9e23055d Update cycle.spec.js 2018-08-29 16:50:28 +00:00
tina b411b67473 Merge branch 'master' into '98-function-to-get-predicted-bleeding-dates'
# Conflicts:
#   components/calendar.js
#   test/cycle.spec.js
2018-08-29 15:58:20 +00:00