All Projects → yacut → tester

yacut / tester

Licence: MIT license
Test runner for the Atom Editor.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to tester

tester-phpunit
tester runner for phpunit on atom editor
Stars: ✭ 34 (-10.53%)
Mutual labels:  apm, tester
Public
Repository for wallaby.js questions and issues
Stars: ✭ 662 (+1642.11%)
Mutual labels:  test-runner, atom-editor
tester-jest
Tester Jest is a tester provider for the Atom Tester.
Stars: ✭ 21 (-44.74%)
Mutual labels:  test-runner, apm
RebelChat
Rebel Chat 💬 - is a modern way to keep in touch with any team, and keep your messaging under control right in your editor.
Stars: ✭ 19 (-50%)
Mutual labels:  atom-editor
jscs-fixer
Atom package to run jscs --fix on your project files
Stars: ✭ 16 (-57.89%)
Mutual labels:  atom-editor
minishell tester
42 | Complex tester for minishell (42cursus)
Stars: ✭ 31 (-18.42%)
Mutual labels:  tester
elastic-apm-mule3-agent
Elastic APM agent for Mule 3.x
Stars: ✭ 18 (-52.63%)
Mutual labels:  apm
ide-css
Atom-IDE for CSS, LESS and SCSS language
Stars: ✭ 18 (-52.63%)
Mutual labels:  atom-editor
OneAgent-SDK-for-dotnet
Enables custom tracing of .NET applications in Dynatrace
Stars: ✭ 14 (-63.16%)
Mutual labels:  apm
linter-terraform-syntax
terraform validate linter and formatter for atom
Stars: ✭ 19 (-50%)
Mutual labels:  atom-editor
fast-laravel
基于Swoole的高性能HTTP服务器,加速您Laravel应用程序。
Stars: ✭ 33 (-13.16%)
Mutual labels:  apm
awesome-game-tester
目标是为游戏测试人员提供一份靠谱的测试资源清单
Stars: ✭ 191 (+402.63%)
Mutual labels:  tester
marathon
Cross-platform test runner written for Android and iOS projects
Stars: ✭ 398 (+947.37%)
Mutual labels:  test-runner
printfTester
Tester for the ft_printf project of 42 school
Stars: ✭ 94 (+147.37%)
Mutual labels:  tester
skywalking-python
The Python agent for Apache SkyWalking
Stars: ✭ 152 (+300%)
Mutual labels:  apm
fierysdk
ragnar fiery php sdk
Stars: ✭ 42 (+10.53%)
Mutual labels:  apm
nord-atom-syntax
An arctic, north-bluish clean and elegant Atom syntax theme.
Stars: ✭ 72 (+89.47%)
Mutual labels:  atom-editor
pinpoint-node-agent
Pinpoint Node.js agent
Stars: ✭ 45 (+18.42%)
Mutual labels:  apm
AppDynamics.DEXTER
Turn your APM data store into a Data Warehouse with advanced reporting, including entities, configuration, metrics, flowmaps, events, snapshots and call graph flame graphs
Stars: ✭ 79 (+107.89%)
Mutual labels:  apm
atom-gitkraken
Open the current @atom project in GitKraken.
Stars: ✭ 12 (-68.42%)
Mutual labels:  apm

Tester

Donate Bitcoin Build Status Windows Build Status APM Version APM Downloads GitHub stars GitHub issues Dependency Status

Tester is a test runner for the hackable Atom Editor. Additionally, you need to install a specific tester provider for your test framework. You will find a full list below in the Known provider section.

Preview

Base Features

  • IDE based Feedback

    • Gutter test result markers

      gutter-markers

    • In-line error messages

      inline-error

    • Console test output

      console-output

    • Test result view

      result-view

  • Session based test watching

    • Test file on open
    • Test file after save
    • Test project
  • Supported test frameworks (for now):

How to / Installation

You can install through the CLI by doing:

$ apm install tester

Or you can install from Settings view by searching for Tester.

Known providers

Tester API

Example

Declare the provider callback in the package.json.

"providedServices": {
  "tester": {
    "versions": {
      "1.0.0": "provideTester"
    }
  }
}

Define the provider callback in lib/main.js.

export function provideTester() {
  return {
    name: 'tester-name',
    options: {},
    scopes: ['**/test/*.js', '**/*spec.js'],
    test(textEditor/* or null to run project tests*/, additionalArgs/* from results views*/) {
      // Note, a Promise may be returned as well!
      return {
        messages: [
          {
            duration: 1, // duration in ms
            error: {
              name: 'optional error object',
              message: 'something went wrong',
              actual: 'optional actual result', // can be an object
              expected: 'optional expected result', // can be an object
              operator: 'optional operator',
            },
            filePath: 'file path to highlight',
            lineNumber: 1, // line number to highlight
            state: 'failed', // 'passed' | 'failed' | 'skipped',
            title: 'some test title',
          }
        ],
        output: 'tester console output'
      };
    },
    stop() {
      // stop tester if needed
    }
  };
}

Inspiration

I'd like to give a shout out to Wallaby.js, which is a significantly more comprehensive and covers a lot more editors, if this extension interests you - check out that too.

Contribute

Stick to imposed code style:

  • $ npm install
  • $ npm test

Roadmap

  • add unknown status for test which not ran
  • replace all views with react components (etch)
  • add table view with results similar to nuclide diagnostics
    • sort data by column head click
    • quick set additional args for test runner
    • merge results from each test runner
    • re-sizable columns
    • side by side diff view for expectations
    • go to next/previous test commands
  • add run all project tests command
  • implement Redux and redux-observable for result view
  • serialization
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].