Fullscreen
[Show/Hide Right Column]

Minified scripts


This is necessary for use case:


Often, we need to use the same assertion check, or the same initialisation code, or the same or almost sequence of steps in different tests. In cases like that, it's better to write one bit of code or test specification and then invoke it in different tests.

With phpunit+Selenium, this is trivial to do. You just write a PHP method and call it from different tests.

With TikiTests, the only place where you can do this easily, is for specifying the start state of the app. Here, you may be able to reuse the same profiles or DB dumbs across different tests. But that's all. You can't reuse assertions, and you can't reuse sequences of screens. Well, you could, but you would have to add a lot of new features to TikiTests to support that.

More information

Contributors to this page: xavi67881 points  .
Page last modified on Friday 15 May, 2009 13:20:22 UTC by xavi67881 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki