aboutsummaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2016-07-18Reverse leading dot logicGravatar Jon Bernard 2-6/+6
2016-02-03Remove unused import to make flake8 happyGravatar Jon Bernard 1-1/+0
2016-02-03Simplify CLI status testGravatar Jon Bernard 1-9/+1
2016-01-22Simplify test fixtures into a single repositoryGravatar Jon Bernard 4-136/+130
2016-01-21Allow globs in ignore patternsGravatar Jon Bernard 2-4/+6
2016-01-20Finish basic repository unit testsGravatar Jon Bernard 1-31/+62
2016-01-20Small cleanup in conftestGravatar Jon Bernard 1-2/+2
2016-01-19Finish tests for dotfile classGravatar Jon Bernard 1-65/+121
2016-01-18Make flake8 happy againGravatar Jon Bernard 1-0/+7
2016-01-18Remove class wrapper from repository testsGravatar Jon Bernard 1-46/+44
2016-01-18Fix typoGravatar Jon Bernard 1-1/+1
2016-01-18Fix unit tests to match recent changesGravatar Jon Bernard 1-9/+12
2016-01-17Split tests into separate filesGravatar Jon Bernard 3-77/+80
2016-01-17Break functionality into separate filesGravatar Jon Bernard 1-2/+4
2016-01-15Move implementation and tests back to directoriesGravatar Jon Bernard 2-0/+181
I think keeping the physical separation is helpful, especially as more features get added.
2016-01-03Consolidate tests into a single fileGravatar Jon Bernard 8-711/+0
2016-01-02Update repository tests to match recent changesGravatar Jon Bernard 1-106/+29
2016-01-02Update dotfile tests to match recent changesGravatar Jon Bernard 1-64/+66
2016-01-01Implement dotfile state managementGravatar Jon Bernard 2-15/+69
2015-12-31Add new click-based CLIGravatar Jon Bernard 1-13/+7
2015-12-31Add tests for new repository implementationGravatar Jon Bernard 1-20/+123
2015-12-31Add invalid test for dotfile classGravatar Jon Bernard 1-0/+17
2015-12-31Rename existing cli filesGravatar Jon Bernard 1-0/+16
I'm in the process of reimplementing the CLI using click and this new implementation will take the place of the existing one once it's feature complete.
2015-12-30Strip leading newline from list outputGravatar Jon Bernard 1-4/+4
2015-12-30Use pytest parametrize to simplify testsGravatar Jon Bernard 1-73/+33
2015-12-29Add repository class reworkGravatar Jon Bernard 1-0/+38
This version of the repository class uses py.path.local and I have an idea for packages that should simplify the code substantially and address the remaining issues with prefixes.
2015-12-29Add dotfile class reworkGravatar Jon Bernard 1-0/+112
This version of the dotfile class uses py.path.local and removes much of the cruft of using os.path and it's associated requirements. There are still a few things missing, namely dry_run mode where commands are printed instead of executed and force sync. They will be included as required.
2015-12-29Move CLI tests into separate fileGravatar Jon Bernard 2-15/+16
The intent is for each file in dotfiles/ to have a matching test file in tests/ so there is less confusion about which test files are testing which bits of functionality and where to look.
2015-12-28Add package sync testGravatar Jon Bernard 1-0/+21
2015-12-28Create new location for sync testsGravatar Jon Bernard 2-19/+19
I'm going to migrate away from unittest capability in favor of pytest and its use of the py.path filesystem abstraction. It's much cleaner and easier to work with.
2015-12-28Move prefix tests to a separate fileGravatar Jon Bernard 2-27/+41
2015-12-28Remove half-backed tests refactoringGravatar Jon Bernard 3-80/+19
2015-11-22Fix flake8 errorsGravatar Ratson 1-40/+40
2015-11-22Fix package and prefix testGravatar Ratson 1-1/+0
2015-02-21Fix outstanding flake8 issuesGravatar Jon Bernard 1-17/+16
2015-01-13Add no_dot_prefix optionGravatar Ivan Malison 1-1/+20
This utility can easily be used for synchronizing arbitrary configuration folders with symlinks that may not necessarily be the home directory. I have encountered several use cases where the files that I want to manage with 'dotfiles' should not/can not be prefixed with a '.'. Fixes #47
2014-07-24Update tests to support recent cli and core changesGravatar Jon Bernard 1-17/+20
2014-07-24A few more test tweaksGravatar Jon Bernard 2-26/+17
2014-07-17Experiments with using pytest for testsGravatar Jon Bernard 2-0/+89
2014-07-14Mark known failing tests as suchGravatar Jon Bernard 1-0/+3
2014-07-11Cleanup imports and move __version__ to __init__.pyGravatar Jon Bernard 1-14/+14
2014-07-10Remove executable bit from test_basic.pyGravatar Jon Bernard 1-0/+0
2014-07-07Add unit test for adding a package file via CLIGravatar Jon Bernard 1-0/+24
Re #20
2014-07-07Remove accidental tabs in unit testsGravatar Jon Bernard 1-6/+6
Python 2 will overlook this and continue executing, but python 3 will issue an error and exit.
2014-07-07Move tests into a directoryGravatar Jon Bernard 1-0/+390
I'm hoping to add more tests for specific features and break then into separate files so things are a bit easier to manage.