Loading...
Skip to main content
Navigation and related functionality and content
Features
Requirements
Download
Install
Backup
Upgrade
Help
FAQs
Need Assistance ? Join-us live this Thursday, click for info !
Related content
Find
History: MinifiedScripts
View published page
Source of version: 4
(current)
! Minified scripts This is necessary for use case: * Dev: [http://dev.tiki.org/tiki-index.php?page=Testing+Use+Case%3A+Dev+wants+to+write+a+series+of+related+and+very+similar+tests|Testing Use Case: Dev wants to write a series of related and very similar tests] 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=- * ((TikiTests)) * http://dev.tiki.org/MinifiedScripts
Related content