ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Ceedling

by SublimeText ST2

Sublime Text 2 plugin for Ceedling C unit testing framework

Details

Installs

  • Total 354
  • Win 175
  • OS X 113
  • Linux 66
Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Description

Ceedling is a set of tools and libraries for testing and building C applications. This package adds support to Sublime Text 2 for developing Ceedling applications.

Ceedling Installation

If you already have the Ruby scripting language installed with RubyGems support, simply execute the following at the command line:

gem install ceedling

Package Installation

Bring up a command line in the Packages/ folder of your Sublime user folder, and execute the following:

mkdir Ceedling cd Ceedling git init git pull git://github.com/SublimeText/Ceedling.git

When you launch Sublime Text 2, it will pick up the contents of this package so that you can consume the goodness that it provides.

Features

  • Ceedling.sublime-build for executing unit tests for the active module via
    • You must assign the builder for your project to 'Ceedling'
  • Snippets for Unity unit testing framework macros
  • Snippets for Unity unit test methods
    • test => unit test method template
    • testi => unit test method template with TEST_IGNORE(message)
    • testf => unit test method template with TEST_FAIL(message)
  • Snippets for CMock mocks
    • FuncBeingMocked.e => FuncBeingMocked_Expect()
    • FuncBeingMocked.er => FuncBeingMocked_ExpectAndReturn()