aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorLines
2019-03-22Fix remaining issues with pathlibJon Bernard-0/+22
2019-03-05Finish migration from py.path to pathlibJon Bernard-52/+60
2019-03-05Fix cli tests with pathlibJon Bernard-4/+4
2019-03-05Finish repository class conversion to pathlibJon Bernard-41/+70
2019-03-05Begin conversion of repository._dotfile() to pathlibJon Bernard-10/+9
2019-03-05Start transition from py.path to pathlibJon Bernard-76/+93
2018-09-22Clean up dotfile tests slightlyJon Bernard-8/+25
2018-09-21Use py's local write() in tests, fixes non-py3 test failuresJon Bernard-4/+2
2018-09-21Fix state testsJon Bernard-16/+12
2018-08-27Add tests for Repository constructor parametersJon Bernard-1/+18
2018-04-17Parameterize a couple unit testsJon Bernard-7/+9
2016-10-12Cleanup exception importsJon Bernard-2/+2
2016-07-18Reverse leading dot logicJon Bernard-6/+6
2016-02-03Remove unused import to make flake8 happyJon Bernard-1/+0
2016-02-03Simplify CLI status testJon Bernard-9/+1
2016-01-22Simplify test fixtures into a single repositoryJon Bernard-136/+130
2016-01-21Allow globs in ignore patternsJon Bernard-4/+6
2016-01-20Finish basic repository unit testsJon Bernard-31/+62
2016-01-20Small cleanup in conftestJon Bernard-2/+2
2016-01-19Finish tests for dotfile classJon Bernard-65/+121
2016-01-18Make flake8 happy againJon Bernard-0/+7
2016-01-18Remove class wrapper from repository testsJon Bernard-46/+44
2016-01-18Fix typoJon Bernard-1/+1
2016-01-18Fix unit tests to match recent changesJon Bernard-9/+12
2016-01-17Split tests into separate filesJon Bernard-77/+80
2016-01-17Break functionality into separate filesJon Bernard-2/+4
2016-01-15Move implementation and tests back to directoriesJon Bernard-0/+181
I think keeping the physical separation is helpful, especially as more features get added.
2016-01-03Consolidate tests into a single fileJon Bernard-711/+0
2016-01-02Update repository tests to match recent changesJon Bernard-106/+29
2016-01-02Update dotfile tests to match recent changesJon Bernard-64/+66
2016-01-01Implement dotfile state managementJon Bernard-15/+69
2015-12-31Add new click-based CLIJon Bernard-13/+7
2015-12-31Add tests for new repository implementationJon Bernard-20/+123
2015-12-31Add invalid test for dotfile classJon Bernard-0/+17
2015-12-31Rename existing cli filesJon Bernard-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 outputJon Bernard-4/+4
2015-12-30Use pytest parametrize to simplify testsJon Bernard-73/+33
2015-12-29Add repository class reworkJon Bernard-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 reworkJon Bernard-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 fileJon Bernard-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 testJon Bernard-0/+21
2015-12-28Create new location for sync testsJon Bernard-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 fileJon Bernard-27/+41
2015-12-28Remove half-backed tests refactoringJon Bernard-80/+19
2015-11-22Fix flake8 errorsRatson-40/+40
2015-11-22Fix package and prefix testRatson-1/+0
2015-02-21Fix outstanding flake8 issuesJon Bernard-17/+16
2015-01-13Add no_dot_prefix optionIvan Malison-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 changesJon Bernard-17/+20
2014-07-24A few more test tweaksJon Bernard-26/+17