Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
test-object-model
Advanced tools
A test tree - used as input to one of several runners:
Create a module which exports one or more tests.
const Tom = require('test-object-model')
const assert = require('assert')
const tom = new Tom()
tom.test('Quick maths', function () {
const result = 2 + 2 - 1
assert.strictEqual(result, 3)
})
module.exports = tom
Create a simple test.
tom.test('name', function () {
// test
})
Skip a test.
tom.skip('name', function () {
// test
})
Skip all but this test.
tom.only('name', function () {
// test
})
Ignore a test.
tom.test('name')
Test context.
tom.test('name', function () {
const testName = this.name
const testNumber = this.index
})
Pass the TOM as input into a test-runner.
© 2018-19 Lloyd Brookes <75pound@gmail.com>.
FAQs
security holding package
The npm package test-object-model receives a total of 4 weekly downloads. As such, test-object-model popularity was classified as not popular.
We found that test-object-model demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.