Leo
155fb7bd7a
v1.3.1
2017-07-13 19:09:33 -07:00
Pat Cavit
a2390c63fb
ospec@1.3.0
2017-07-12 21:05:44 -07:00
Pierre-Yves Gérardy
d65fd020cd
[ospec:docs] test suites can now be named [skip ci]
2017-07-09 17:04:26 +02:00
Pierre-Yves Gérardy
cbb3db7b88
Merge branch 'next' into ospec-named-suites
2017-07-06 22:12:39 +02:00
Paul D. Fernhout
95addffda6
Update ospec to ignore hidden directories and files
2017-05-20 17:09:32 +00:00
Pat Cavit
bef58fdfa5
chore: Update repo references ( #1834 )
2017-05-02 09:24:12 -07:00
Isiah Meadows
934e0ac55e
Merge branch 'next' into strict-mode
2017-03-09 11:54:32 -05:00
Leo Horie
5fa4c6025a
Merge pull request #1555 from pygy/ospec-no-global-install
...
[ospec:docs] Document the fact that ospec doesn't work when installed globally
2017-03-09 09:47:13 -05:00
Isiah Meadows
1cc5fa5ba7
"use strict" and other linty fixes
2017-03-03 18:24:38 -05:00
Pierre-Yves Gerardy
b70ba6709a
[ospec] stricter valid context for test definitions and assertions
2017-02-13 19:39:32 +01:00
Pierre-Yves Gerardy
9b3e646303
[ospec] make o.only noisier
2017-02-11 23:02:06 +01:00
Pierre-Yves Gerardy
ee6d991e51
[ospec:docs] Document the fact that ospec doesn't work when installed globally
2017-01-22 10:43:48 +01:00
James Yang
1403c66072
fix: stat is undefined in some cornor case
2017-01-13 17:11:12 +08:00
Pierre-Yves Gerardy
2c2ca73c22
[ospec] Add the possibility to name new test suites
2017-01-10 21:29:34 +01:00
Pierre-Yves Gerardy
bd519f3c23
[ospec] fix nextTickish()
2017-01-10 14:59:09 +01:00
Leo Horie
6c5a7e6e62
Merge branch 'rewrite' into next-tick
2017-01-10 08:18:50 -05:00
Leo Horie
360a68ad26
Merge pull request #1522 from pygy/ospec-improve-dedupe
...
[ospec] Improve the dupe detection code
2017-01-09 07:49:41 -05:00
Pierre-Yves Gerardy
396a7ff4e4
[ospec] Simplify the dupe checker
2017-01-09 10:24:03 +01:00
Pierre-Yves Gerardy
a7ea060a64
[ospec] Add hasOwn shortcut
2017-01-09 10:16:53 +01:00
Pierre-Yves Gerardy
f13561e200
[ospec] Improve the dupe detection code
2017-01-08 21:20:43 +01:00
Leo
d40b324645
doc fixes
2017-01-08 14:47:38 -05:00
Leo Horie
9ad16858a5
#1520 ospec: report duplicate test names
2017-01-08 13:05:27 -05:00
Bryce Gibson
1dec7eb3f6
Use process.nextTick if available to reduce stack size.
2017-01-03 19:04:11 +11:00
Bryce Gibson
7868d97006
Remove o.only call to ensure other tests are run.
2017-01-03 11:19:55 +11:00
Pierre-Yves Gerardy
df1e19b86c
[ospec] Fix for objects with undefined properties
2017-01-01 16:13:11 +01:00
Pierre-Yves Gerardy
027a220779
[ospec:tests] Add assertion for object with undefined properties vs none
2017-01-01 16:09:15 +01:00
Pierre-Yves Gerardy
02545a8a98
[ospec] Fix array deepEquals corner cases
2017-01-01 15:52:54 +01:00
Pierre-Yves Gerardy
af39796da3
[ospec:tests] Add assertions for array deepEquals corner cases
2017-01-01 15:28:26 +01:00
Leo Horie
b62663bdc1
ensure properties in arrays are tested #1497
2016-12-31 19:27:23 -05:00
Pierre-Yves Gerardy
64b759fd83
[ospec] Speed up the CLI runner by skipping node_modules early
2016-12-26 11:03:34 +01:00
Leo
50b8b498c5
bump ospec version
2016-12-07 18:39:21 -05:00
Barney Carroll
22f07edd52
Make ospec report the number of failing assertions
2016-12-06 18:18:53 +00:00
Leo Horie
f780e0f7b9
bump ospec version
2016-11-15 10:02:25 -05:00
Leo Horie
249050e4c2
bump ospec version
2016-11-15 10:01:12 -05:00
Pat Cavit
71457a356d
Fix repository field
...
https://docs.npmjs.com/files/package.json#repository
2016-11-10 11:01:02 -08:00
Leo Horie
4dd66a7e65
don't send undefined body
2016-11-10 10:12:05 -05:00
Leo Horie
adf91a4f7a
update npm identifier
2016-10-31 12:24:46 -04:00
Leo Horie
72de37f98b
change line endings - step 2
2016-10-26 15:24:08 -04:00
Leo Horie
00abe297df
change line endings, step 1
2016-10-26 15:23:19 -04:00
Douglas Brown
d02a238bf0
💁 Adjust ospec bin def, add to README
...
Getting set up with ospec is deceptively simple, and adding just a bit
more documentation should help new users from falling into the trap of
overthinking the test config. (I know that I ended up down a very
strange rabbit hole when pulling ospec into a project).
This also adjusts the bin definition in the package file so that we can
hopefully just use the `ospec` command instead of a folder ref.
2016-10-14 13:27:44 -04:00
Leo Horie
8c5fd9ec25
lint
2016-09-23 22:49:20 -04:00
Leo Horie
b8398544a0
bump ospec version
2016-09-19 14:03:49 -04:00
Barney Carroll
b8e3dcfbe4
Code style fix for 6b922d0: substitute double quotes
2016-08-31 11:54:21 +01:00
Barney Carroll
6b922d02ea
Spies reflect wrapped function's name & length
2016-08-31 11:51:15 +01:00
Leo Horie
f0888ac7bd
make spy decorator
2016-08-30 14:05:53 -04:00
Barney Carroll
211802793d
[ospec] allow spy to wrap functions
2016-08-30 17:10:21 +01:00
Pat Cavit
15116d5b2e
Update package metadata ( #1256 )
2016-08-18 09:51:24 -07:00
Pat Cavit
54dc599ca0
Add package.json to ospec so it can be published
2016-08-18 09:36:57 -07:00
Leo Horie
a6c56ff6b9
resolve hook in router
2016-07-11 09:50:00 -04:00
Leo Horie
88b91b1073
ospec: display brackets in errors about arrays
2016-06-30 23:39:22 -04:00