Commit Graph

84 Commits

Author SHA1 Message Date
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
tina e047440068 changs output of getpredictedmenses, adds days to calendar 2018-08-23 17:28:53 +02:00
tina 497a3a3ff5 adds more tests for period predictions, moves getcycleslength into cycle module 2018-08-23 11:36:57 +02:00
tina ea21fc92a2 moves getCycleLength to corresponding files, adds function to get next menses (not finished) with first tests 2018-08-22 18:21:57 +02:00
tina 48484843df adds more tests for getcyclelengthstats with more realistic data 2018-08-22 15:08:08 +02:00
tina d751aaf891 adds tests for getallmensesstarts 2018-08-22 14:37:51 +02:00
tina f2b8723fb9 resolves some of the suggested improvements, renames the term period with cycle 2018-08-09 18:31:14 +02:00
Julia Friesel a2c428e991 Shorten line lengths in cycle 2018-08-06 13:10:59 +02:00
Julia Friesel 125fe03678 Fix test file name spelling 2018-08-02 15:52:32 +02:00
Julia Friesel 8bbf122d12 Ignore 0 -> 1 mucus shift 2018-08-02 11:12:01 +02:00
Julia Friesel 574e7ed854 Ignore highest quality after end of eval 2018-08-01 16:45:41 +02:00
tina 00a7de0faf little improvements and test for array of one element 2018-08-01 15:49:44 +02:00
tina 9664984e72 rounds period stats, adds tests 2018-08-01 15:19:59 +02:00
tina cceecc071d computes the stats about the period lengths, started tests 2018-07-31 15:06:16 +02:00
Julia Friesel 5ce6bc8cfc Handle cycle with mucus on first cycle day 2018-07-24 14:21:10 +02:00
Julia Friesel 67ebacfdd7 Fix whitespace 2018-07-18 16:39:52 +02:00
Julia Friesel 58aa0c4b8d Remove assumeFertility from status, derive from phases instead 2018-07-18 14:18:04 +02:00
Julia Friesel 42a96da69d Change cycle module API, add getCycleForDay, remove unused functions 2018-07-18 13:32:40 +02:00
Julia Friesel 52b6e5de0a Make previousCycle explicit in signature 2018-07-18 10:02:11 +02:00
Julia Friesel c96d3d4550 Merge branch 'master' into 73-implement-nfp-logic-for-mucus-mode 2018-07-16 13:55:07 +02:00
emelko 7e0456c10f Adding unit tests to all possible mucus feeling/texture combinations 2018-07-16 11:58:42 +02:00
Julia Friesel 85e2703b2f Get previous cycles before detecting fertility status 2018-07-13 11:30:54 +02:00
Julia Friesel 125fd84d59 Add another test 2018-07-13 09:09:12 +02:00
Julia Friesel b3467005e1 Fix line length linter warnings 2018-07-13 07:20:52 +02:00
Julia Friesel 7382bff0dd Implement minus 8 day rule 2018-07-13 07:14:36 +02:00
Julia Friesel 93ff7a0f8f Set up failing test for minus 8 rule 2018-07-12 11:55:42 +02:00
Julia Friesel 19e880183e Accept previousCycles as array 2018-07-11 14:14:42 +02:00
Julia Friesel 9e645ddd8e Add more tests for combinations of fhm and mucus peak 2018-07-11 13:00:16 +02:00
Julia Friesel a1306cd7c5 Use assert for args check 2018-07-10 17:18:50 +02:00
Julia Friesel 60c6189466 Shorten pre-ovu phase when early mucus 2018-07-10 17:04:54 +02:00
Julia Friesel d027c6e9c4 Throw if args are wrong 2018-07-10 16:37:38 +02:00
Julia Friesel 81b7b46b23 Use explicit dates with gaps and fix bugs that this uncovers 2018-07-10 14:22:40 +02:00