https://github.com/ruslansagitov/jasmine-loud
Jasmine matchers for Loud, web accessibility testing helper
https://github.com/ruslansagitov/jasmine-loud
accessibility jasmine-matchers testing
Last synced: 5 months ago
JSON representation
Jasmine matchers for Loud, web accessibility testing helper
- Host: GitHub
- URL: https://github.com/ruslansagitov/jasmine-loud
- Owner: ruslansagitov
- License: mit
- Created: 2015-12-27T16:24:19.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-01-01T09:32:13.000Z (over 1 year ago)
- Last Synced: 2025-04-08T07:12:56.491Z (about 1 year ago)
- Topics: accessibility, jasmine-matchers, testing
- Language: JavaScript
- Size: 233 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# jasmine-loud [](https://github.com/ruslansagitov/jasmine-loud/actions/workflows/test.yaml) [](https://coveralls.io/r/ruslansagitov/jasmine-loud)
[Jasmine][] matchers for [Loud][], web accessibility testing helper
## Getting Started
Get a release tarball, or clone the repository, or use [npm][],
or [bower][]:
```
bower install jasmine-loud --save-dev
```
Add `./lib/jasmine-loud.js` to a testing page:
```html
```
## Jasmine Matchers
### toBeSaid()
```js
describe('jasmine-loud', function() {
beforeEach(function() {
this.button = document.createElement('button');
this.button.innerHTML = 'Join';
document.body.appendChild(this.button);
});
afterEach(function() {
document.body.removeChild(this.button);
});
it('works', function() {
expect(this.button).toBeSaid(['Join', 'button']);
});
});
```
[Jasmine]: "Jasmine — Behavior-Driven JavaScript"
[Loud]: "Loud — Web accessibility testing helper"
[npm]: "npm — A package manager for JavaScript"
[bower]: "Bower — A package manager for the web"