Get help with testing, discuss unit testing strategies etc.


Post by nickolay »

After some thinking it is possible:
                var testUrl
                
                page.dispatcher.forEachTestElementInChunkTask(page.chunkTask, function (el) {
                    testUrl         = el.descId
                    // stop the iterator
                    return false
                })
Thats in iterator over all tests in the chunk, which is stopped immediately, on the first element.

Post Reply