5 Commits

Author SHA1 Message Date
Jonathan Bernard
b2d4df0aac WIP Upgrading to Nim 0.19. Getting docker pieces compiling.
* Addressing breaking changes in migration from Nim 0.18 to 0.19.
* Finishing the initial pass at the refactor required to include
  docker-based builds.
* Regaining confidence in the existing functionality by getting all
  tests passing again after docker introduction (still need new tests to
  cover new docker functionality).
2018-12-09 07:09:23 -06:00
Jonathan Bernard
4edae250ba Added more functional tests, fix bugs discovered.
* Fixed the formatting of command line logging of strawboss workers.
* Fixed a bug in the (de)serialization of log levels in the strawboss service
  config file.
* Pulled `parseBuildStatus` logic out of `loadBuildStatus` so that we could
  parse a JSON that didn't come from a file.
* Added `parseRun` for Run objects.
* Moved `/ping` to `/service/debug/ping` for symmetry with
  `/service/debug/stop`
* Added functional tests of full builds.
2017-11-25 18:49:43 -06:00
Jonathan Bernard
37682441ea Split testing into unit and functional tests.
* Split the `test` nimble task into `unittest` and `functest`, with
  corresponding test directories and test runners.
* Added documentation in README regarding building and testing StrawBoss.
* Created a small, simple test project for use in the functional tests.
* Added a `keepEnv` template in the server unit test code to make it easy to
  preserve the working environment for a single unit test to invistigate
  failures manually.
2017-05-10 11:44:46 -05:00
Jonathan Bernard
13165879c5 Pulled sameContents function out into nim-langutils library. 2017-05-08 12:32:55 -05:00
Jonathan Bernard
52b7d2f48b Implemented password hashing. Added and improved tests. 2017-03-24 01:04:39 -05:00