• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

trufflesuite / ganache-core / 1398
83%

Build:
DEFAULT BRANCH: develop
Ran 13 Feb 2019 05:55PM UTC
Jobs 3
Files 33
Run time 133min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1398

push

travis-ci

davidmurdoch
Refactored gas tests (#289)

* Moving gas test into subdirectory

* Moved helper functions into gas lib directory
Refactored gasLimit, gasPrices, gas, custom_gas_limit, custom_gas_price.

* Moving gas solidity file into contract gas directory

* Extracted rpc and sleep to individual files
Updated bootstrap and compileAndDeploy module

* Removed utils.js in favor of extracting functionality into files
Added getWeb3
Added preloadWeb3 (get web3 with mocha support)

* Fixed broken reference to relocated helper files and/or contract

* Documented setUp module

* Updated path.join arguments

* Only need to specify contract subdirectory when bootstrapping contracts

* Replaced arrow with traditional functions.
Mocha recommended. https://mochajs.org/#arrow-functions
Truncated a couple of test descriptions to under 120 characters

* Testing gasPrice when specified as a string

* Renamed web3 helper files and modules
preloadTestProvider is dependent on initializeTestProvider
Updated test references.

* Adding renamed web3 helpers

* Added options support to compileAndDeploy module
Removed unnecessary helper file
Update deploy references in test.

* Replacing web3 BN function with a direct BN library reference

* Replaced BN.js with number-to-bn module.
number-to-bn handles type variations

* Renamed to confirmGasPrice.

* Changed toByte -> toByteHexString

* Renamed setUp to bootstrap
Changed a documented contractPath to contractSubdirectory

* Change 'service' to 'context' when bootstrapping
Added both 'byzantium' and 'constantinople' to automated gas test.

* Skipping broken test for now.

* Set hardfork options when testing many transactions in a block

* Removed a redundant gas price test.

* Update TEST_BUILD path

* No longer destructuring receipts

* Contract deployments now exports receipts as part of the context

* Streamlined bootstrap's returned test assets
Removed preloadTestProvider ... (continued)

804 of 1134 branches covered (70.9%)

Branch coverage included in aggregate %.

2294 of 2711 relevant lines covered (84.62%)

1867.39 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1398.1 13 Feb 2019 05:58PM UTC 0
80.57
Travis Job 1398.1
2 1398.2 13 Feb 2019 05:59PM UTC 0
80.57
Travis Job 1398.2
3 1398.3 13 Feb 2019 05:55PM UTC 0
80.57
Travis Job 1398.3
Source Files on build 1398
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1398
  • 86d565bc on github
  • Prev Build on develop (#1337)
  • Next Build on develop (#1406)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc