npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

ember-test-recorder

v0.0.1

Published

An Ember addon for recording and generating acceptance test cases through UI interactions

Readme

Test Case Generator

An Ember.js addon that helps you create tests by recording user interactions in your application. This tool automatically generates test cases based on your actions, making test creation more intuitive and efficient.

Demo

Compatibility

  • Ember.js v4.12 or above
  • Ember CLI v4.12 or above
  • Node.js v18 or above

Installation

ember install test-case-generator

Usage

Basic Setup

Add the test recorder to your application by importing and using the provided components:

{{!-- application.hbs --}}
<TestCaseRecorder />

Recording Tests

  1. Click the "Start Recording" button in the sidebar
  2. Perform the actions you want to test in your application
  3. Use the assertion Mode to add assertions about the page state
  4. Click "Stop Recording" when finished
  5. Copy the generated test code to your test file

Event Configuration

The test recorder provides a flexible event management system that allows you to control which events are tracked during test recording:

  1. Click the "Events Config" tab in the sidebar
  2. Toggle individual events on/off:
    • Click Events - Track mouse clicks on elements
    • Input Events - Track form input changes
    • Form Submit - Track form submissions
    • Navigation - Track route changes

Events can be enabled/disabled at any time, even during recording. This helps you:

  • Focus on specific interactions you want to test
  • Reduce noise in generated test cases
  • Create more targeted and maintainable tests

Features

  • 🎥 Records user interactions (clicks, form inputs, etc.)
  • ✅ Generates assertions based on page state
  • 🔄 Converts recorded actions into readable test code
  • 📝 Supports custom assertions through the assertion panel
  • 🎯 Automatically tracks DOM events and route transitions
  • ⚙️ Configurable event tracking system

Example Generated Test

test('user can complete login flow', async function(assert) {
  await visit('/login');
  await fillIn('[data-test-email]', '[email protected]');
  await fillIn('[data-test-password]', 'password123');
  await click('[data-test-submit]');
  
  assert.dom('[data-test-welcome]').hasText('Welcome back!');
});

Contributing

See the Contributing guide for details.

Local Development

  1. Clone the repository
  2. npm install
  3. ember serve
  4. Visit the dummy app at http://localhost:4200

License

This project is licensed under the MIT License.