Hello guys,
this week each of us used some time to look at refactoring methods. We used the book "Refactoring" from Martin Fowler and Kent Beck. We created a new repository to track our progress. Take a look:
Marco
Steven (didn't created one)
Have a nice day,
TheLearningTriangle-Team
PS: even without the "compulsion" of the Software Engineering course, I can recommend the book. The content is useful.
Hello everyone!
We are Franziska and Marco - students of computer science at the Duale Hochschule Baden Württemberg in Karlsruhe.
This blog reports about the development of a game without user interaction. That's because it's supposed to be controlled by an artificial intelligence. The blog will show you our work and research.
Have fun browsing through it!
Wednesday, May 10, 2017
Thursday, May 4, 2017
Unit Testing
Hey guys,
today we want to show you our thoughts on testing.
We mentioned at the beginning of this project that we want to develop test-driven. This means testing before coding. Further information about this topic and its influence can be found in our test-document.
In this post you can also find some test code which was written for our triangles and their functions. Each test method was written before there was an implementation of the code. We have to admit that it was hard to follow our first idea of TDD at some points. But only if you can resist the pain its possible to become better and you will feel how your code becomes "better" in many cases without extraordinary work.
RUP Test Plan
Some Test code: TriangleTestCode | FieldTestCode
There are some example of a test showing the result:
working test |
failed test |
Thank you for visiting our blog,
TheLearningTriangle-Team
Tags:
dhbw,
rup,
software engineering,
tdd,
testing
Location:
Karlsruhe, Deutschland
Subscribe to:
Posts (Atom)