Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create testsuite #3

Open
GhoulofGSG9 opened this issue May 6, 2018 · 2 comments
Open

Create testsuite #3

GhoulofGSG9 opened this issue May 6, 2018 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@GhoulofGSG9
Copy link
Member

Issue by GhoulofGSG9
Wednesday Nov 08, 2017 at 16:45 GMT
Originally opened as Mendasp#66


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.

@GhoulofGSG9 GhoulofGSG9 added enhancement New feature or request question Further information is requested labels May 6, 2018
@GhoulofGSG9
Copy link
Member Author

Comment by BeigeAlert
Wednesday Nov 08, 2017 at 16:56 GMT


How would you test for something like the health percentages flickering?

On Nov 8, 2017 10:45 AM, "GhoulofGSG9" notifications@github.com wrote:

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
for 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.

Would be great to hear what others think about this suggestion.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
Mendasp#66, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-j3P55kGsy0I_56-cWqpiQiOOhfTDfks5s0dqvgaJpZM4QWrwx
.

@GhoulofGSG9
Copy link
Member Author

Comment by GhoulofGSG9
Friday Nov 10, 2017 at 16:03 GMT


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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant