Project

Profile

Help

Task #7236

Describe unittest template on wiki

Added by Mark Zaslavskiy almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Category:
mdbci testing
Sprint/Milestone:
Start date:
13.07.2016
Due date:
% Done:

0%

Estimated time:
2:00 h
Target branch:
Test scenario:

https://dev.osll.ru/projects/mdbci/wiki/How_to_write_tests


Description

Questions to be described:
- rspec syntax
- how to enable test automatic execution by commits
- how to deal with test data (crud)
- differencies between unit and integration, smoke and heavy
- unit:
-- how to mock global objects
-- how to setUp and tear down
-- parametrized
-- non parametrized
- integration
-- how to test CI commands
-- parametrized
-- non parametrized

History

#1 Updated by Mark Zaslavskiy almost 5 years ago

  • Estimated time set to 2:00 h

#2 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#3 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#4 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#5 Updated by Mark Zaslavskiy almost 5 years ago

  • Description updated (diff)

#6 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from New to Active / In progress

#7 Updated by Mark Zaslavskiy almost 5 years ago

  • Test scenario updated (diff)

#8 Updated by Mark Zaslavskiy almost 5 years ago

  • Status changed from Active / In progress to Closed

Also available in: Atom PDF