Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/e0selmy4v/ie-passer

A debugger based on HTA, which can test your code in IE browser
https://github.com/e0selmy4v/ie-passer

debug debugger ie ie6 tdd test testing

Last synced: about 2 months ago
JSON representation

A debugger based on HTA, which can test your code in IE browser

Awesome Lists containing this project

README

        

# IE Passer

Debug in IE easily!

This debug tool is based on HTA, which is an 'old' technology to make *HTML Application* come true.
Because HTA's host program is IE (*mshta.exe*), you can debug your JS in IE through HTA.

HTA can be used only in Windows, just like this tool.

This tool packaged HTA test into a small function, making your debug easier.

## Usage

```javascript
import iePasser from 'ie-passer';
// or
const iePasser = require('ie-passer');

iePasser(
'Your:\\Project\\index.ie.js',
{
test0: () => {
// some test...
},
test1: () => {
// some test...
},
},
{
version: '5' // version of IE core
}
);
```

Then, a magic HTA window will be opened.
You can click the button displaying tests' name to do the test.