You are here: Foswiki>Tasks Web>Item11456 (27 Jan 2012, PaulHarvey)Edit Attach

Item11456: Sync UnitTestContrib branches

Priority: Low
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: UnitTestContrib
Branches: Release01x01 trunk
Reported By: PaulHarvey
Waiting For: PaulHarvey
Last Change By: PaulHarvey
We have the power to make both branches identical. In fact, IMHO we need to work towards maintaining only a single branch of UnitTests, which should expect_failure('foo', with_dep => 'Foswiki,<,1.2') etc.

Anyway, preparing for some large test changes from Item11431, I need to first get both branches reasonably in sync before I can dcommit.

-- PaulHarvey - 19 Jan 2012

TODO: Why does Fn_SEARCH have so many more tests on Release01x01 than on trunk

-- PaulHarvey - 19 Jan 2012

Answer: Crawford turned a lot of verify_* into test_ to speed things up.

  • Update EmptyPlugin with examples of the new FoswikiTestCase->expect_failure(), ->using() & ->check_dependency functions
  • Implement a mechanism to skip tests, rather than expect_failure()

-- PaulHarvey - 27 Jan 2012

Apart from minor differences in RegisterTests & FoswikiFnTestCase which I think stemp from ongoing Item11458 work, Release01x01 & trunk are now exactly identical.

-- PaulHarvey - 27 Jan 2012
Topic revision: r29 - 27 Jan 2012, PaulHarvey
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy