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. castToArray
- 6.5. castToString
- 6.6. class
- 6.7. dateInterval
- 6.8. dateTime
- 6.9. error
- 6.10. exception
- 6.11. extension
- 6.12. float
- 6.13. function
- 6.14. generator
- 6.15. hash
- 6.16. integer
- 6.17. mock
- 6.18. mysqlDateTime
- 6.19. object
- 6.20. output
- 6.21. resource
- 6.22. sizeOf
- 6.23. stream
- 6.24. string
- 6.25. utf8String
- 6.26. variable
- 6.27. 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. Integration of atoum in your IDE
- 17. FAQ
- 18. Contribute
- 19. Licences