MVC planning poker–delete round – part 8

Stefan Petrini make a final test, DeleteRound ( with subcases for Moderator and for non-Moderator deleting a table)

bool DeleteNotModeratorSuccess = true;
            try
            {
                td.Table.DeleteRound(td.Table.Id + "NotModerator".GetHashCode(), "Round2");//Attempting to delete a round without being a Moderator
            }
            catch (PPSecurityExceptionModerator)
            {
                DeleteNotModeratorSuccess = false;
            }
            Assert.IsFalse(DeleteNotModeratorSuccess);

For now the application has 20 tests – all without data persistance ( all is in memory)
It is time to add a saving to database in order to persist data.

MVC planning poker–part 7

The latest 2 cases are

Use Case 5: Round reset
Moderator enters a round name (?) .
Participants choose a value.
Host press "reset round " and a fresh new round is created
The old one is not saved

Use Case 6: Round save
After a round is saved, the users can see the history round names and picked value
They can see also a total

 

There is not so more implementation – just save in the memory  a list and retrieve.

Next time we will be thinking about persistence – how this affect the structure of the application

Andrei Ignat weekly software news(mostly .NET)

* indicates required

Please select all the ways you would like to hear from me:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.