opentk/opentk — pull request #195 by Frassle (2014-11-04 23:40:25+00:00)
Title: [NUnit] Add NUnit test project for OpenGL.

Runs a number of tests to check that GameWindows can be created and closed and
that basic OpenGL calls work.

This was raised a few months ago on the forums as part of my Silk work (http://www.opentk.com/node/3692). This is just a very simple test case to start with to check that this test framework will work on the development platforms we care about. I'm currently running it with MonoDevelop 4.0.12 on Ubuntu 14.04 (which works once pull request #194 is merged). I don't have access to any other machines at the moment (out of country) so would appreciate if others could check that it can be run (preferably simply) on Windows (Visual Studio and MonoDevelop), OSX and other Linux distros or without and IDE. I'm not an NUnit guru so advice welcome!

Once we're happy with the project setup and the format in which to write the tests I'll work on adding a variety of other tests to try and cover all the binding rewrite code.

Keep in mind these tests are to make sure that OpenTK code is working, that is our Window/Input/etc handling code and the CIL we generate to call native OpenGL functions. These are not testing that OpenGL works, there are GL conformance tests for that!