Opened 10 years ago

Closed 10 years ago

#1228 closed new feature (fixed)

Create phpunit tests

Reported by: fake51 Owned by: fake51
Priority: critical Milestone: Rox Framework, Upgrade
Component: BW General Keywords: phpunit, test

Description (last modified by fake51)

We have tons of problems with code not working or variables not set, etc etc. To avoid this we need to get some unit tests setup and get into the practice of running them on upgrades, new code, refactoring, etc.

There's already a test/ folder in the setup but it's using simpletest which I don't have much experience with. Also, simpletest seems to not be developed much more while phpunit is. Hence, I'm going to make phpunit tests and would encourage everyone else to do the same. I'll see if I can get some test setup going, to make it easy to test components.

Also see PHPUnit

Change History (2)

comment:1 Changed 10 years ago by fake51

  • Description modified (diff)

comment:2 Changed 10 years ago by fake51

  • Resolution set to fixed
  • Status changed from new to closed

PHPUnit tests are working, that is, it's possible and fairly easy to create and use tests. For info on how, look in /test/ and PHPUnit

Note: See TracTickets for help on using tickets.