Contributor
hakatashi

Create a sandbox interface for tests


Mentors
Dylan
Organization
jQuery Foundation

Testings of JavaScript application sometimes include modification of their own environment, such as global/native objects extensions and DOM manipulations. To avoid undesirable side effects, they have to be executed in a clean environment as much as possible.

Since Intern JavaScript testing framework doesn't have this as the core feature yet, users have to manually reset or sandbox everything they care. The aim of this proposal is to solve this issue by implementing “sandbox interface” to Intern core API and make users get rid of the difficulties.

The timeline of this proposal includes the following:

  • Make friends with Intern's codebase
  • Investigate and discuss with my mentors how this feature will be implemented
  • Write actual codes
  • Fix bugs
  • Test and document everything I implemented