Commit Graph

19 Commits

Author SHA1 Message Date
kenjones
53b2c64747 Task: Increase test coverage, includes refactor
Adds test cases to increase test coverage.
Refactors code to enable adding tests by reducing the number of
locations where `os.Exit()` is called from.
2017-09-22 23:01:46 -04:00
kenjones
86639acf70 Task: Simplify development
The base directory has all shell scripts in scripts/
and all example/test files in examples/.
A Makefile provides all the commands with helpful information.
If a developer simply types `make` then vendor is properly updated,
the code is formatted, linted, tested, built, acceptance test run,
and installed.

Linting errors resolved.
Ignored test case (`TestParsePath`) updated to work as expected.
2017-09-23 08:37:34 +10:00
Mike Farah
1ed8e7017e Can create arrays 2017-08-08 17:04:30 +10:00
Mike Farah
5514d2300b Can update arrays 2017-08-08 16:55:57 +10:00
Mike Farah
5bb0934710 Handle arrays and strings when reading 2017-08-08 16:42:11 +10:00
Mike Farah
cdd78af4bc Fixed bug #11: Inability to set field to empty string 2017-06-06 10:19:32 +10:00
Mike Farah
0facf35d60 Fixed test flakeyness with using printf 2017-04-14 12:56:50 +10:00
Mike Farah
82f1230db8 Added "new" command for creating new yaml 2017-04-12 21:10:00 +10:00
Mike Farah
44ee869e47 Maintain order 2017-02-27 09:09:29 +11:00
Mike Farah
56c923228d Fixed bug when using write command
Added more tests to avoid bugs ;)
2015-10-09 21:24:42 +11:00
mfarah
15f51d4bf0 Can update a yaml file from an instruction yaml file 2015-10-08 10:31:31 +11:00
Mike Farah
8aa69fc9ba Handles quoted values when writing 2015-10-03 17:25:13 +10:00
Mike Farah
01845ea923 Split code 2015-10-02 09:05:13 +10:00
mfarah
0cb8a47ccb Added getValue tests 2015-10-01 19:38:45 +10:00
mfarah
35ceb01222 DRY'd tests 2015-10-01 14:43:57 +10:00
Mike Farah
eeb16443d4 Can update simple properties (to stdout) 2015-09-29 10:56:28 +10:00
mfarah
0c5188acb5 Added prechecking script, fixed lint errors 2015-09-28 13:17:51 +10:00
mfarah
9869a41122 gofmt'ed 2015-09-28 13:17:51 +10:00
mfarah
ccd95146fe Added test 2015-09-28 13:17:51 +10:00