I’ve been looking at what would be needed to get Gaia unit testing operational again, which has lead me to the Test Agent codebase (currently not functional). I’ve had some success getting the agent to start up and display a list of tests from the
config.json file, but actually running the tests requires something called the MultiDomainDriver (just called
Driver in that link), which I think is creating iframes with dummy sub-domains in order to sandbox the JS code.
Is anyone who is familiar with the Test Agent able to help me understand this sandboxing process, and advise on whether something equivalent can be accomplished using
chrome:// instead, given that there are no domains there (are there)?
I would also like to know what those in the know believe is the best way to test those apps that end up becoming plain webapps. Should they be tested in the same way as browser chrome, or should we test them separately? Related to this is the question of whether those gaia apps that become ordinary webapps should continue to live in the gaia repo or not …