Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Create testsuite #66

Open
GhoulofGSG9 opened this issue Nov 8, 2017 · 2 comments
Open

Create testsuite #66

GhoulofGSG9 opened this issue Nov 8, 2017 · 2 comments

Comments

@GhoulofGSG9
Copy link
Contributor

GhoulofGSG9 commented Nov 8, 2017

Due to how many possible configuration ns2plus can be run with and the sheer amount of features we should seriously consider adding a test suite to this project. This would shorten test times for new build significantly while making sure the quality of the project doesn't decrease with ongoing builds.

We could either develop our own unit framework or use an existing one. I have used LuaUnit (https://github.com/bluebird75/luaunit) in the past which offers mostly everything needed. But there is also the test framework that comes with ns2 which could be used as well.

Would be great to hear what other contributors think about this suggestion.

@BeigeAlert
Copy link
Contributor

BeigeAlert commented Nov 8, 2017 via email

@GhoulofGSG9
Copy link
Contributor Author

GhoulofGSG9 commented Nov 10, 2017

You can check the state of the GUI Object after performing a set of test operations.

In case there is no way to come up with tests for a feature given feature should at least be capsuled so that any failure of it doesn't effect the rest of the system.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants