Just like many of us these days, my todo list keeps getting longer and longer. One of those things that I never get enough time to do is blog, and contribute articles to the developer community. My current project is an article on test patterns and best practices I desperately want to get wrapped up before Dreamforce.
/**
* Contains all the test cases for user stories use cases
*/
@isTest
private class UserStoryTestSuite {
static Theme__c themeSO = null;
static Scrum_Team__c teamSO = null;
static Release__c releaseSO = null;
static Sprint_Backlog__c backlogSO = null;
static testMethod void manageUserStory()
{
setup();
manageADetailedStory();
manageAnEpicStory();
showPrintNotecards();
prioritizeStories();
prioritizeStoriesLegacy();
prioritizeStoriesWithFlex();
completingTasksInAStory();
}
static void setup()
{
teamSO = TestHelper.createScrumTeam('Test Scrum Team');
themeSO = ThemeTestHelper.addTheme(teamSO);
releaseSO = ReleaseTestHelper.createRelease();
backlogSO = BacklogTestHelper.createBacklog('Backlog Test', teamSO);
}
//the rest of the class has been removed for brevity.
The article I mentioned at the start of this post will contain a lot more detail, but for now hopefully this will spur some food for thought.