Atom Packages Directory

a package directory for a text editor of the 21st Century

Build Busted

Install with:
    apm install build-busted
  

build-busted

Adds busted targets for atom-build.

How It Works

This package add busted targets for atom-build if .busted (see busted: Predefined Busted Tasks) exists in project root directory.

Here is minimal .busted file if you just want to run busted:

lua return {}

Limitation: Currently this package can only parse .busted which return a table constructor expression. That is the follow .busted will parsed: lua return { ... }

and this will not parsed (you only got default busted target):

lua local t = { mytask = {...} } return t

Setup

  1. Install busted and add a .busted file for your project.
  2. Install atom-build and this atom-build-busted package apm install build build-busted.
  3. Preferences… -> Packages -> build-busted -> Settings -> Set executable Path to your busted executable.

Contribute

Ideas, bugs and pull requests please go to GitHub xpol/atom-build-busted.

Keywords: busted, unit-test, lua, productivity Suggest keywords
Fork me on GitHub