77 Commits

Author SHA1 Message Date
Fabien Benureau
9243859294 updated test_usecase + fixed bug in import_cmd 2013-11-17 19:44:55 +01:00
Fabien Benureau
8d91545472 papers renamed 'pubs' 2013-11-14 04:40:29 +01:00
Fabien Benureau
1ad64d7859 notes cmd 2013-11-11 04:07:42 +01:00
Fabien Benureau
10fd0f86d6 only one usecase failing 2013-11-11 00:52:09 +01:00
Fabien Benureau
8c54b19207 updated import and added rename command 2013-11-10 19:35:21 +01:00
Olivier Mangin
e72f8fa7f2 Improves query handling for list command.
- Cleans code.
- Clever mode for case by default (case sensitive only if capitals in
  query).
- Adds basic tests.
- Conjunction of blocks.
- Options to override smart case.
2013-10-14 18:03:34 +02:00
Olivier Mangin
08811b842f Adds citekey argument to selectively import entries.
Also removes unused fatal argument from many_from_path and moves
printing of warning to the command.
2013-07-16 12:46:02 +02:00
jgrizou
0801b3882d Merge branch 'develop' into plug/texnote 2013-07-05 18:10:40 +02:00
jgrizou
9cc893d8a7 Added AddEvent 2013-07-05 17:41:48 +02:00
Olivier Mangin
d5247a6618 Refactors usecase.
Integrate helpers into TestCase sub-classes to make use of setUp
mechanism.
2013-07-05 14:42:07 +02:00
Fabien Benureau
ab52785667 update test in test_usecases 2013-07-04 21:39:51 +01:00
Fabien Benureau
145710b928 test for every command except websearch and update 2013-07-04 21:15:03 +01:00
Fabien Benureau
6c9d4a3a41 lot more test in test_usecase : every command used 2013-07-04 18:59:30 +01:00
Fabien Benureau
04fcb42338 tests can be run from root dir 2013-07-04 18:31:21 +01:00
Fabien Benureau
cc3928ef4b fake editor_input 2013-07-04 18:05:53 +01:00
Fabien Benureau
e0fd19f9d8 first input test working 2013-07-04 12:28:00 +01:00
Fabien Benureau
3dde852bdd execute_cmd input ready 2013-07-04 11:15:11 +01:00
Fabien Benureau
62a4527a37 method to set FakeInput package-wide 2013-07-04 10:34:00 +01:00
Fabien Benureau
d109d93341 added FakeInput class to usecase tests 2013-07-04 10:19:01 +01:00
Fabien Benureau
3c0f575b92 backtracked on changes. repo is passing all tests 2013-07-02 15:58:12 +01:00
Fabien Benureau
164816a910 updated tests 2013-07-02 14:03:32 +01:00
Fabien Benureau
500667baae more usecase test, hack-fixed plugins. 2013-06-30 18:40:34 +01:00
Fabien Benureau
ddfc129b64 redirect and check stdout in usecases 2013-06-29 22:43:37 +01:00
Fabien Benureau
cb94166aef test.sh into virtual usecase 2013-06-29 10:17:59 +01:00
Fabien Benureau
293fc2393f automatic copy of content into fake fs 2013-06-29 10:04:38 +01:00
Fabien Benureau
b4504278f2 more robust fake_fs testing; added papers add test 2013-06-29 09:30:56 +01:00
Fabien Benureau
13bd18cda9 working fs replacement enabling use case testing.
papers content was mostly moved to papers_cmd.py
You can now use papers_cmd.execute('papers tag Page99'.split()) from the code
2013-06-28 19:30:07 +02:00