Commit Graph

4 Commits

Author SHA1 Message Date
Helmut K. C. Tessarek 62bbfef6a3
feat(server): add random suffix mode (#69)
* add random suffix mode

* fix linter issues

* add test case

* fix linter issues

* add comments, remove empty lines and single line declarations

* more test cases

* refactor(config): rename suffix_mode to random_suffix

* refactor(paste): clean up the random suffix logic

* chore(config): add random suffix example to default config

* docs(readme): mention random suffix feature

* test(fixtures): add fixture test for random suffix mode

* random_suffix -> suffix_mode

* fix default extension for .dotfile w/o extension

* fix formatting

* style(format): fix the indentation for random suffix fixture

---------

Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
2023-07-01 00:11:16 +02:00
Orhun Parmaksız cccbf98acc
refactor(fixtures): use subshell for running fixture methods 2022-05-21 16:51:06 +03:00
Orhun Parmaksız c60090d461
fix(fixtures): exit the run_test function on error 2022-05-21 16:43:32 +03:00
Orhun Parmaksız 4d16e65edb
test(fixtures): add a test framework along with test fixtures 2022-05-21 15:27:38 +03:00