Closed benwaffle closed 10 years ago
Wish you'd split up the commit containing 'a simple test case' for just our repo separately so that I don't have to look through a 100k diff to find what I'm looking for.
One hundred thousands lines of code to test if the magnet method returns true if the argument passed is "magnet".
what is assert
If you seriously want something like this to be merged, you'll need to write more complete tests.
Obviously thats planned
Why make a PR then.
Is there a reason that you didn't use a submodule for googletests?
It's not hosted on github We could though
There is one hosted here, but it was last updated ~3 years ago, whereas the latest release on their official repo is from 2013. I'm going to do some looking around to see if we can add an svn submodule
I suppose if we had to we could mirror their SVN repo ourselves. If anyone has a better solution, please do post
The better solution would be to not use unit tests if no one knows how it works.
It easy to write, see main.cpp. And we'll just upload a copy of googletest to a new repo.
You're going to need a more sophisticated example than main.cpp because assert can do very well the same thing without pulling a 100KLOC framework.
It has pretty output and details what goes wrong. Plus it has stuff like fixtures and other unit testing components
Wowow only 100 files and 100kloc for colored output. Impressive.
No, seriously, go write all of the required unit test, because right now the merge is completely useless.
Of course this will need better integration with CMake and travis