Replies: 5 comments 5 replies
-
Hey, this looks great. Are you satisfied with the xUnit Test Framework, I have never used it but it goods quite simple to use and the text coverage summary report looks good too. Keep up the work Team Vigad |
Beta Was this translation helpful? Give feedback.
-
Hey AMOGUS Team, Your blog entry sounds very promising. The xUnit framework is also something new for me. Nice that you added a sample code from your test. Some development teams here can definitely benefit from it. Your test results look great. I also had a look at your test plan. It is very clear, organized and very well thought out. Good luck with the further testing Your Rule The Gym - Team |
Beta Was this translation helpful? Give feedback.
-
Hey AMOGUS, your blog always makes our day better. We think you did a good job integrating xUnit to your project. Your test plan looks good and understandable. You do a good job combine interesting facts with funny jokes. Good luck π with further testing. Regards |
Beta Was this translation helpful? Give feedback.
-
Hi CUMGroup, It's very good, that you know how important testing is for a software. Is the xUnit framework similar to JUnit, not for Java but for any other language? Your example test has a similar structure and I think it's very easy to use and functional. I also think it's very good to integrate the tests into your CI so you don't have to run the tests manually and maybe during holidays miss an important bug. In our team we use GitHub Actions so considering that you also use GitHub, that could maybe be a good option. If you also use Jira for your Scrum workflow you can also connect these processes and have a nice overview on your Jira board. Keep the good work up and glad that you also programmed more functionality of your software. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi team AMOGUS, Your testing Strategy looks great! I think it's very inzeresting what frameworks you use, as our project (DHBWorkout) has kind of the same Architecture (we're also service based) but use different ones (JUnit and Mockito). But it looks like yours is working as good and I really like to see that there are also other ways to implement it! Good luck with your further testing! |
Beta Was this translation helpful? Give feedback.
-
Welcome back fellow AMOGUS enjoyers π₯
Its been a long week and a lot of work was done! This weeks topic is Testing! Yaaaaay!
Even though testing can be kind of annoying it is an essential part of the Software Engineering process! It ensures delivering good, functional, working end results and helps developers to check if changes had some impact on the application.β
In our project we are using the xUnit testing framework to create our unit test cases. As we use a Service bases Architecture we also have to mock all dependencies of the system under test (i.e. other Services, Date providers...). For this we use the Moq library which makes it easy to implement partial classes for each dependency interface.
An example Testcase would look something like this:
As you can see we first Arrange (setup all dependencies...), then Act (execute the method) and finally Assert (test if the output is as expected).
Within Visual Studio we can then simply execute all tests in the current assembly and get an overview over the results
To get an better overview over the tests and compare with past results, we can use the exported Test Summary β
Here we can also get an overview over our code coverage
You can find our detailed test plan here
For the next Sprint we plan to write even more tests to achieve a better coverage. Furthermore we will include the tests in our CI process. But more on that in next weeks blog post ^^
So... Enough testing for today! π
We also worked on our core gameplay a lot this week!
AMOGUS is now capable of not only delivering pre defined questions, but we can now generate mental-exercises on the fly. This was done in two difficulty ranges - Randomized Mental Mode & Randomized Mental Insane Mode π
That's it with this weeks blog post!
Yours truly,
CUMGroup
Beta Was this translation helpful? Give feedback.
All reactions