Commit Graph

25 Commits

Author SHA1 Message Date
Sam Surtees
5b73685522 Added GoogleTest style output for unit tests 2018-05-07 23:52:56 +10:00
Ben Ratzlaff
f910ede248 Print failing test names to the console in the 'warning' color 2018-04-30 17:32:40 +02:00
Sam Surtees
138a443b3c Fixed issues with duplicate tests
- Test suite will now fail when test names are reused
- Fixed several unit tests that reused test names
2018-04-30 17:01:20 +02:00
Tom van Dijck
a93fb478cf small fix in self-test module. 2017-10-12 16:09:49 -07:00
Aleksi Juvani
8046b030d6 Fix io.readfile erroring when running tests 2017-08-02 13:35:39 +03:00
Tom van Dijck
041d01bb21 Fix action (#138)
* Fix unit-test correctly setting action.
2017-08-01 10:01:01 -07:00
Tom van Dijck
31df5d9604 fix bug in testing framework leaving tests in random working folders. 2017-07-04 18:40:28 -07:00
Tom van Dijck
a53e17948f Hook setTextColor in tests, so on linux/mac we don't get random color changes but no output. 2017-06-21 09:52:25 -07:00
Tom van Dijck
8d509c6d75 Merge pull request #805 from Blizzard/insecure-option
Add --insecure option for SSL curl requests.
2017-06-19 13:06:51 -07:00
Tom van Dijck
7b9ff9f840 Update to Lua 5.3.4 2017-06-19 12:11:49 -07:00
Tom van Dijck
3016d51e28 Add --insecure option for SSL curl requests. 2017-06-13 13:37:21 -07:00
Rick Appleton
382778c317 Added unittest for Xcode group support. 2017-06-08 13:47:50 +02:00
Tom van Dijck
ff9114c031 [self-test] fix nil dereference crash in test.isequal 2017-05-19 14:56:08 -07:00
Sam Surtees
fa3328440e Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
Tom van Dijck
5f589ad5a6 replaced:
os.get() -> os.target()
os.is() -> os.istarget()
_OS -> _TARGET_OS

added:
os.current()
os.iscurrent()
2017-04-24 13:01:31 -07:00
Tom van Dijck
d2580bab86 Adding some tests. 2016-08-22 16:06:55 -07:00
Tom van Dijck
6b30ce5908 Print full text in test_assertions (#522)
It makes it easier to see what is wrong.
2016-06-22 08:36:14 -07:00
Tom van Dijck
453c1eda8e test_runner failed to correctly count failed tests (#515)
https://github.com/premake/premake-core/issues/514
2016-06-15 14:38:47 -07:00
Jason Perkins
7f0ceff074 Fix crashing bug when --test-only argument is used to select a single ttest 2016-06-03 17:00:06 -04:00
Jason Perkins
1339933a01 Add a bit of organization and documentation to the code, make it easier to follow 2016-05-26 19:57:27 -04:00
Jason Perkins
3283b1d141 Consolidate and clean up the test runner logic and associated environment hooks 2016-05-25 16:55:49 -04:00
Jason Perkins
8cc046fa1b Break up the test runner and make the logic easier to follow 2016-05-20 20:13:04 -04:00
Jason Perkins
e95b23a7b3 Use module symbol "m" in place of "test", free that up for other people to use 2016-05-20 19:14:08 -04:00
Jason Perkins
b240131d09 Split test declarations and stubs out into their own files; improve encapsulation a bit 2016-05-18 15:56:04 -04:00
Jason Perkins
e0e988eccb Move testing framework into a core module 2016-05-16 16:32:35 -04:00