a9f910d34f
Increase test coverage ( #1237 )
...
* Fixed a SplitPayment test
* Deleted unnecessary function.
* Improved PostDeliveryCrowdsale tests.
* Improved RefundableCrowdsale tests.
* Improved MintedCrowdsale tests.
* Improved IncreasingPriceCrowdsale tests.
* Fixed a CappedCrowdsale test.
* Improved TimedCrowdsale tests.
* Improved descriptions of added tests.
2018-08-24 19:23:11 -03:00
4fb9bb7020
Minor test style improvements ( #1219 )
...
* Changed .eq to .equal
* Changed equal(bool) to .to.be.bool
* Changed be.bool to equal(bool), disallowed unused expressions.
2018-08-22 16:05:18 -03:00
20cf885430
No longer assigning awaits to temporary variables. ( #1216 )
2018-08-17 16:10:40 -03:00
8d11dcc0e5
Increase testing coverage ( #1195 )
...
* Added non-target bounty test
* Increased ERC721 testing coverage.
* Addressed review comments.
* fix linter error
* Fixed linter error
* Removed unnecessary bouncer require
* Improved Crowdsale tests.
* Added missing SuperUser test.
* Improved payment tests.
* Improved token tests.
* Fixed ERC721 test.
* Reviewed phrasing.
2018-08-14 19:37:30 -03:00
ac91af9a6a
Replace all asserts with chai.should ( #1183 )
...
* Moving towards chai.should.
* Fixed failing tests.
* Fixed linter errors.
* Revert package-lock.json changes.
* Fixed failing tests.
* s/eq/equal
* Addressed review comment
2018-08-10 19:03:04 -03:00
31fc572abe
inLogs no longer returns a promise. ( #1169 )
2018-08-08 10:57:00 -07:00
94797978bb
SplitPayment now requires payees. ( #1131 )
...
* SplitPayment now requires payees.
* Improved test phrasing.
2018-08-06 16:21:34 -03:00
ba85aef95e
Renamed behaviour to behavior. ( #1151 )
2018-08-03 14:41:54 -03:00
4544df47da
All tests now use account names, and dont use accounts[0] (except ERC… ( #1137 )
...
* All tests now use account names, and dont use accounts[0] (except ERC721)
* Added account names to some missing contracts.
2018-08-02 16:55:31 -03:00
567b773242
Prefer const in test files ( #1117 )
...
* Removed all instances of var.
* Sorted eslintrc rules.
* Made eslint rule severity explicit.
* Now prefering const over let.
2018-07-26 13:25:10 -03:00
e6c15b34da
Remove chai-as-promised ( #1116 )
...
* Test: Remove chai-as-promised calls
* Test/Helpers: expectThrow accepts optional message
* NPM: Remove chai-as-promised
* Contracts/DestructibleMock: Fix lint
2018-07-26 11:53:33 -03:00
cea2a85a42
Remove Babel ( #1074 )
...
* Test helpers no longer rely on Babel.
* Behaviours are no longer imported.
* Removed Babel dependency.
* Fixed linter errors.
2018-07-18 19:37:16 -03:00
40b5594f52
Promisify web3 sync requests in tests ( #1009 )
2018-07-10 14:01:51 -07:00
8fd072cf8e
Escrows ( #1014 )
...
* Added basic Escrow
* PullPayment now uses an Escrow, removing all trust from the contract
* Abstracted the Escrow tests to a behaviour
* Added ConditionalEscrow
* Added RefundableEscrow.
* RefundableCrowdsale now uses a RefundEscrow, removed RefundVault.
* Renaming after code review.
* Added log test helper.
* Now allowing empty deposits and withdrawals.
* Style fixes.
* Minor review comments.
* Add Deposited and Withdrawn events, removed Refunded
* The base Escrow is now Ownable, users of it (owners) must provide methods to access it.
2018-07-03 18:54:55 -03:00
f4228f1b49
fix: reference contract name rather than filepath ( #698 )
2018-01-25 11:52:51 -03:00
b925b2dae6
Organize test files following contracts folders structure
2018-01-16 13:03:35 -03:00