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 349
  • Win 172
  • OS X 113
  • Linux 64
May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14
Windows 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 1 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()