What is atoum?ΒΆ
atoum is a unit test framework like PHPUnit or SimpleTest, but it has a few advantages over these:
- It’s modern and uses the innovations of latest PHP versions;
- It’s simple and easy to learn;
- It’s intuitive because its syntax is close to the English natural language;
- despite constant changes to atoum, backward compatibility is one of the priorities of its developers.
You can find more information on the official website.
- 1. Start with atoum
- 2. Installation
- 3. First Tests
- 4. Running tests
- 5. How to write test cases
- 6. Asserters collection
- 6.1. afterDestructionOf
- 6.2. array
- 6.3. boolean
- 6.4. castToString
- 6.5. class
- 6.6. dateInterval
- 6.7. dateTime
- 6.8. error
- 6.9. exception
- 6.10. extension
- 6.11. float
- 6.12. hash
- 6.13. integer
- 6.14. mock
- 6.15. mysqlDateTime
- 6.16. object
- 6.17. output
- 6.18. sizeOf
- 6.19. stream
- 6.20. string
- 6.21. utf8String
- 6.22. variable
- 6.23. Asserter & assertion tips
- 7. Mocking systems
- 8. Execution engine
- 9. Loop mode
- 10. Debugging test cases
- 11. Fine tuning atoum behaviour
- 12. Configuration & bootstraping
- 13. Annotations
- 14. Command line options
- 15. Cookbook
- 16. Extensions
- 17. Integration of atoum in your IDE
- 18. Contribute
- 19. Licences