testing - How to test DOM sensitivities with intern -


i test dom related things intern, nothing requiring specific fixtures, general dom stuff if mutated element.prototype. require functional test run through local selenium server (or sauce labs) or can done through non-functional testing suite?

intern doesn’t provide sandboxing isolate unit test suites, if you’re going modify native objects purposes of testing, you’ll either need restore them later (in suite teardown) or create own sandboxing (by creating new document or new frame, depending upon trying test). don’t need use functional testing unless you’re trying test things can’t reliably done within javascript sandbox (certain types of events, file uploads, multi-page navigation, cross-frame scripting, other things).


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -