summaryrefslogtreecommitdiffstats
path: root/cmd/platform/test.go
Commit message (Collapse)AuthorAgeFilesLines
* Adding enterprise commands support (#8327)Jesús Espino2018-03-071-149/+0
|
* Abort on critical error during server startup (#8204)Pierre de La Morinerie2018-02-071-2/+10
| | | | | | | | | | | | | | | | | Only a handful of critical errors are present in the codebase. They all occur during server startup (in `app.StartServer()`). Currently, when one of these critical error occurs, it is simpled mentionned in the logs – then the error is discarded, and the app attempts to continue the execution (and probably fails pretty quickly in a weird way). Rather than continuing operations in an unknow state, these errors should trigger a clean exit. This commit rewrites critical startup errors to be correctly propagated, logged, and then terminate the command execution. Additionnaly, it makes the server return a proper error code to the shell.
* Role refactor (#7867)Chris2017-11-211-1/+0
| | | | | | | | * role refactor * add missing file * fix web test
* Small fix to run webapp tests (#7777)Jesús Espino2017-11-201-1/+6
|
* several one-line panic, race, and logic fixes (#7766)Chris2017-11-031-1/+1
|
* Refactoring cfg refs and load / save functions (#7749)Chris2017-10-311-11/+12
| | | | | | * refactoring cfg refs and load / save functions * improve error output
* Miscellaneous app cleanup (#7594)Chris2017-10-091-6/+2
| | | | | | | | | | | | * app cleanup * whoops, forgot a file * some minor cleanup * longer container deadline * defensive checks
* Goroutine wranglin (#7556)Chris2017-10-031-3/+2
| | | | | | * goroutine wranglin * synchronize WebConn.WritePump
* remove remaining Global() calls (outside of tests) (#7521)Chris2017-09-281-4/+4
|
* remove global refs from api/api4 (#7496)Chris2017-09-221-4/+4
|
* Remove global app references (#7433)Chris2017-09-121-13/+14
| | | | | | | | * remove global app references * test fix * fix api4 test compilation
* Renaming repoChristopher Speller2017-09-061-5/+5
|
* app type transition (#7167)Chris2017-09-061-6/+7
|
* PLT-6471 Properly panic when translations can't be loaded (#6414)Harrison Healey2017-05-231-2/+8
| | | | | | | | | | * PLT-6471 Properly panic when translations can't be loaded * Print usage messages when errors occur during CLI initialization * Reverted behaviour of FindDir and added second return value to it * Fixed merge conflict
* PLT-5860 Updated copyright date (#6058)Harrison Healey2017-04-121-1/+1
| | | | | | | | | | | | * PLT-5860 Updated copyright date in about modal * PLT-5860 Updated copyright notice in JSX files * PLT-5860 Updated copyright notice in go files * Fixed misc copyright dates * Fixed component snapshots
* Move WebSocket API to it's own package and add websocket v4 endpoint (#5881)Joram Wilander2017-03-281-0/+5
|
* PLT-5755: Infrastructure for Component Testing. (#5814)George Goldberg2017-03-231-0/+29
| | | | | | | | | | This migrates the existing webapp tests to using Jest and Enzyme. The infrastructure is put in place for React component testing, and a few simple example component tests are implemented. This also adds snapshot testing of components, coverage checking for the webapp (although that is not yet integrated to Coveralls), and the ability to run npm run test:watch to automatically re-run affected tests when working on the webapp codebase.
* Adding stderr to client tests output. Exiting with error so make will fail. ↵Christopher Speller2017-01-231-0/+16
| | | | (#5168)
* PLT-4938 Add app package and move logic over from api package (#4931)Joram Wilander2017-01-131-2/+3
| | | | | | | | | | * Add app package and move logic over from api package * Change app package functions to return errors * Move non-api tests into app package * Fix merge
* Improving command line interface (#4689)Christopher Speller2016-12-061-0/+82