Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Verb
At this point True can only test values (e.g. function returns), not property/value output (e.g. mixin output).
in command line:
# ruby gem
gem install true
# bower package
bower install true
This command-line tool uses Ruby and the Ruby Sass compiler.
true-cli [options] PATH
Options:
-s
silent-c
config file-d
debug config file settingsConfig file (optional):
options:
color: true #enables colored output
# require ruby sass extension libraries
require:
- "compass"
- "serialy_sassy"
default location: test/true.yml
@import "true";
@include test-module('Utilities') {
@include test('Map Add [function]') {
$base: (one: 1, two: 1, three: 1);
$add: (one: 1, two: 2, three: -1);
$test: map-add($base, $add);
$expect: (one: 2, two: 3, three: 0);
@include assert-equal($test, $expect,
'Returns the sum of two numeric maps');
}
@include test('Is Equal [function]') {
$test: is-equal(1, 1rem);
@include assert-equal($test, false,
'Returns false for equal numbers with different units.');
$test: is-equal(1, 1);
@include assert-equal($test, true,
'Returns true for numbers that are truely equal.');
}
}
@include report;
There is only one setting:
$true-terminal-output
toggles output to the terminal on and off.
true
will display a final summary of your test results in the terminal,
and show detailed information on failing assertions.
Required for true-cli
.false
to turn off all terminal output.
Required for Libsass.FAQs
Unit testing for Sass.
The npm package sass-true receives a total of 10,997 weekly downloads. As such, sass-true popularity was classified as popular.
We found that sass-true demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.