Age | Commit message (Expand) | Author |
---|---|---|
2018-05-11 | replace `mocha` dependency (#3131) | Alex Lam S.L |
2018-04-26 | workaround test failures in Node.js 10 (#3102) | Alex Lam S.L |
2018-03-29 | improve source map granularity (#3030)...fixes #3023 | Alex Lam S.L |
2018-03-11 | preserve case when `inline_script` (#2991)...fixes #2989 | Alex Lam S.L |
2018-03-04 | improve `test/run-test.js` performance (#2971)...- allow reuse of contextified sandbox - minimise bottleneck from `vm.createContext()` | Alex Lam S.L |
2018-02-24 | minor clean-ups (#2951) | Alex Lam S.L |
2018-02-13 | report options upon reminify input error (#2911) | Alex Lam S.L |
2018-01-04 | reminify tests upon `expect_stdout` (#2716) | Alex Lam S.L |
2018-01-04 | forbid block-scoped `AST_Defun` in strict mode (#2718) | Alex Lam S.L |
2017-11-24 | fix `rename` (#2501)...- suppress spurious `rename` from `commander` - handle `AST_SymbolCatch` correctly | Alex Lam S.L |
2017-07-29 | improve `mangle.properties` (#2261)...- include dead code when `keep_quoted` - unify `keep_quoted` & `reserved` - make `test/run-tests.js` consistent with `minify()` fixes #2256 | Alex Lam S.L |
2017-06-23 | synchronise `mangle.properties` for `minify()` & `test/compress` (#2151) | Alex Lam S.L |
2017-06-15 | fix parsing of `expect_stdout` (#2096)...fixes #2095 | Alex Lam S.L |
2017-06-13 | allow `expect_stdout` to specify `Error` (#2087) | Alex Lam S.L |
2017-05-18 | make `expect_stdout` node version specific (#1963)...... via semver string on `node_version` label. | Alex Lam S.L |
2017-05-15 | fix & improve coverage of `estree` (#1935)...- fix `estree` conversion of getter/setter - fix non-directive literal in `to_mozilla_ast()` - revamp `test/mozilla-ast.js` - reuse `test/ufuzz.js` for code generation - use `acorn.parse()` for creating `estree` - extend `test/ufuzz.js` for `acorn` workaround - catch variable redefinition - non-trivial literal as directive - adjust options for tolerance Miscellaneous - optional semi-colon when parsing directives fixes #1914 closes #1915 | Alex Lam S.L |
2017-05-08 | deprecate low level API (#1877)...fixes #1872 | Alex Lam S.L |
2017-04-01 | implement `test/sandbox.js` (#1749)...- `test/run-tests.js` and `test/ufuzz.js` now shares the same `run_code()` and `same_stdout()` - re-enable fuzzer to generate top-level `NaN`, `Infinity` & `undefined` - attempt to show beautified output only when `run_code()` output is preserved | Alex Lam S.L |
2017-03-29 | remove UGLIFY_DEBUG (#1720)...fixes #1719 | Alex Lam S.L |
2017-03-24 | fix expect_stdout (#1642)...`compress()` may modify input ASTs add tests for #1627 & #1640 | Alex Lam S.L |
2017-03-23 | introduce compressor.info() (#1633)...report the following only when `options.warnings = "verbose"` - unused elements due to inlining - collpased variables | Alex Lam S.L |
2017-03-19 | make `expect_stdout` work on Node.js 0.12 (#1623)...That particular version of Node.js has messed up error messages, so provide a version-specific workaround. Also fixed an formatting issue which would cause `expect_stdout` to fail if error message contains excerpts of input. Apply `expect_stdout` to more applicable tests. | Alex Lam S.L |
2017-03-18 | handle runtime errors in `expect_stdout` (#1618)...allow test to pass if both `input` and `expect` throws the same kind of error | Alex Lam S.L |
2017-03-18 | fix top-level directives in compress tests (#1615)...`input` and `expect` are parsed as `AST_BlockStatement` which does not support `AST_Directive` by default. Emulate that by transforming preceding `AST_SimpleStatement`s of `AST_String` into `AST_Directive`. | Alex Lam S.L |
2017-03-16 | extend `test/run-tests.js` to optionally execute uglified output (#1604)...fixes #1588 | Alex Lam S.L |
2017-03-10 | support multi-line string in tests (#1590)...`expect_exact` sometimes have multiple lines and `\n` are hard to read. Use array of strings to emulate line breaks and improve readability. | Alex Lam S.L |
2017-02-21 | fix duplicated test names...previously test cases with the same name would be skipped except for the last one `test/run-test.js` will now report duplicated names as errors closes #1461 | alexlamsl |
2017-01-19 | Have minify() and tests use figure_out_scope() as uglifyjs CLI does...Clarify docs, help and tests for --support-ie8 and screw_ie8=false | kzc |
2016-10-27 | Pass mangle options to figure_out_scope before mangling in tests | Anthony Van de Gejuchte |
2016-08-14 | Test reparsing test/compress/*.js output | kzc |
2016-06-19 | Respect quote style in object literals...The option added in fbbaa42ee55a7f753f7cab9b1a905ccf73cf26d5 wasn't being respected inside object literals, so quoted property names would still be stripped out with this option. This is mostly a corner-case, but useful when the output is passed to something like the Closure compiler, where quoted property names can be used to prevent mangling. | Shrey Banga |
2016-06-19 | Don't mix strings with directives in output... * Don't interpret strings with escaped content as directive * Don't interpret strings after empty statement as directive * Adapt output to prevent strings being represent as directive * Introduce UGLIFY_DEBUG to allow internal testing like EXPECT_DIRECTIVE | Anthony Van de Gejuchte |
2016-06-09 | Catch errors when compression test fails to parse | Anthony Van de Gejuchte |
2016-05-04 | Fix regression causing tests to fail on windows | Anthony Van de Gejuchte |
2016-04-19 | Add `passes` compress option. Fix duplicate compress warnings. | kzc |
2016-04-12 | Add base54.reset() to compress tests...Without this reset, char counts bleed to next tests. One test had a bad expect clause. | Richard van Velzen |
2016-04-11 | Fix warnings for referenced non-hoisted functions....Fixes #1034 Also added `expect_warnings` functionality to test framework. | kzc |
2016-01-14 | Never mangle arguments and keep them in their scope...Fixes #892 Helped-by: kzc | Anthony Van de Gejuchte |
2015-12-27 | Add mocha tests | Anthony Van de Gejuchte |
2015-11-12 | Replace util.error with console.log | Mihai Bazon |
2015-10-28 | Allow specification beautify options in tests...Caught an error in #847 as well - `output` wasn't passed anywhere which led to an exception. `options` was available though. | Richard van Velzen |
2015-10-20 | Fix #836 | Fábio Santos |
2015-10-12 | Fix tests | Mihai Bazon |
2015-08-05 | Fix mangling of property names which overwrite unmangleable properties...Fixes #747. | Richard van Velzen |
2015-07-29 | Replace util.puts in run-tests with console.log...See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f | Richard van Velzen |
2015-04-14 | Added expect_exact for testing the OutputStream...This works almost exactly like `expect`, except that you pass a literal string of which the result is compared with the generated output. | Fábio Santos |
2014-08-03 | Added generative testing for AST conversions. | Ingvar Stepanyan |
2013-10-27 | Display number of failed tests and corresponding files | Mihai Bazon |
2013-10-23 | Add an exit code to the test suite...By adding the exit code 1 (or any other non-zero exit code) `npm test` will know the tests didn't perform correctly. This way it's easier to know if pull requests are good or bad. | Richard van Velzen |
2012-10-18 | more optimizations for some break/continue cases | Mihai Bazon |