Skip to content

Your First Test

Run your first test and send results to Automated Future.

Your First Test

Learn how to run a test and send results to Automated Future.

Authentication

First, authenticate with your API key:

af auth login

This will open your browser and guide you through the authentication process.

Run a Test

Create a simple test file:

// example.test.js
describe('Example Test', () => {
  it('should pass', () => {
    expect(true).toBe(true);
  });
});

Run it with Automated Future:

af run -- npm test

View Results

Visit your dashboard to see your test results.

Next Steps