-
Notifications
You must be signed in to change notification settings - Fork 1
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
PyTest unit testing #5
Comments
Starting my initial pytesting has raised a problem in Nif Explorers original code. The way Nif Explorer works at the moment is through class inheritance, which I cannot recall why I decided to code it like that. Instead, a better way to do it would be using objects:
Instead of using class inheritance like the following:
That way, multiple objects of |
I had the objective of Test Driven Development in mind when re-designing Nif Explorer, as it was some simple PyTests that showed the old Nif Explorer was really bad and prone to a lot of bugs. So now, with TDD the main focus, I am re-designing Nif Explorer, and thus far, has provided success in the re-design, thanks to TDD. |
I will close this issue, as with the re-design of Nif Explorer, and the implementation of a testing framework, there is no reason to keep this issue open. |
No description provided.
The text was updated successfully, but these errors were encountered: