Commit graph

12 commits

Author SHA1 Message Date
karimpwnz
04465e4758 Rename -reminisce to -today-in-history 2021-01-10 23:41:38 +02:00
karimpwnz
640dbc0554 Better scenario description 2021-01-05 04:36:52 +02:00
karimpwnz
b833d50745 Re-do tests; use various tests 2021-01-05 04:26:56 +02:00
karimpwnz
748fc5c835 Simplify reminisce tests 2021-01-04 17:13:53 +02:00
karimpwnz
18c8f3d2d2 Finalize tests 2021-01-04 10:12:34 +02:00
karimpwnz
1aed5ddfb2 Add combination tests 2021-01-04 10:08:46 +02:00
karimpwnz
2da0c6b6dc Implement reminiscing test 2021-01-04 09:38:54 +02:00
karimpwnz
0a20106964 Make 'Searching in a journal' test shorter 2021-01-04 09:37:13 +02:00
karimpwnz
902753e6a9 Fix failing tests by updating dates_similar journal 2021-01-04 04:03:27 +02:00
karimpwnz
e246a9c0b3 Compress tests into one Scenario Outline 2021-01-04 03:57:45 +02:00
karimpwnz
0355af936c Implement testing for -month, -day, -year, and -reminisce 2021-01-03 22:27:45 +02:00
Jonathan Wren
d916f66dbf
[WIP] Lots of test refactoring (#1042)
* make behave slightly less verbose for use with behave --format progress2
* standardize behave tests
* move tests around to be more behavior driven
* clean up txt file after tests
* add more tests, add more functionality to behave for calling mock editor
* move around behave tests, get rid of regression files
* clean up some code around keyrings
* add more placeholder test scenarios (marked with @todo)
  You can run just these tests with `behave --no-skipped --tags=todo`
* fix "missing_directory" test
  This test was missing the config file it was trying to use. So, it was
  really a very useless, broken test that we absolutely should not have
  approved the PR (#963) for.
* add write tests for each journal type
* update version tests, add new regex match behave step
* add config test outlines
* add journal types to some search tests
* change "basic" config reference to "simple"
* update configs
* add more journal types in search
* fix basic folder journal reference
* add flush output steps to behave, update delete flag tests
* fix failing test with a flush
* update more delete flag tests to include other journal types
* fix file cleanup after failed test with no debug on
* fix password test
* fix DayOne tag sample data, move search/format tag tests, and run them on multiple jrnl types
* added ability to auto-prompt for password for encrypted journals
  Only uses password when prompted, and doesn't get in the way of other
  input prompts. This allows us to run the same scenarios on both
  encrypted journals and other journal types.
* fold encrypted scenarios into the rest of the scenarios where possible
* remove apostrophe that is breaking tests on CI
* add more journal type tests to import feature
* standardize whitespace in behave tests, take out duplicate test
* update handling of cache directories in test suite (easier syntax)
* skip failing YAML exporter emoji test on Windows
* added @todo tags for things that need follow-up

Co-authored-by: Micah Jerome Ellison <micah.jerome.ellison@gmail.com>
2020-10-17 15:17:38 -07:00