purnam.test.sweet has since been bundled together with purnam.test.

please see https://github.com/purnam/example.purnam.test for latest changes



On Thursday, November 7, 2013 4:14:53 PM UTC+11, Chris Zheng wrote:
> The full article is here:
> 
> http://z.caudate.me/midje-%60lite%60-for-clojurescript/
> 
> the complete purnam library documentation is here:
> 
> http://docs.caudate.me/purnam/
> 
> -------
> 
> purnam is a clojurescript library designed to provide better 
> clojurescript/javascript interop, testing and documentation tools to the 
> programmer. It also has very comprehensive modules for angular.js 
> applications.
> 
> Current projects requiring interface with external javascript libraries will 
> greatly benefit from this library. 'Pure' clojure/clojurescript libraries 
> will also benefit with its unit-testing and documentation workflows. The 
> library was written to solve a number of pain points that I have experienced 
> in clojurescript development:
> 
> Better JS Interop
> The first pain point was having to deal with the clojurish (.dot syntax) for 
> javascript interop as well as a lack of functionality when working with 
> native js objects. This made it especially hard for working with any external 
> js library. Purnam offers:
> 
> purnam.cljs - functions for native objects and arrays
> purnam.js - a set of macros allowing javascript-like syntax for better interop
> purnam.types - clojure protocols for native objects and arrays
> 
> In-Browser Testing
> The second pain point was the lack of testing tools that worked within the 
> browser. Even though testing with phantom.js was fine for non-browser code, I 
> wanted something with more debugging power and so unit testing is integrated 
> with the karma test runner using two different test styles:
> 
> purnam.test - testing using jasmine syntax
> purnam.test.sweet - testing using midje syntax (compatible with midje-doc)
> 
> Angularjs on Clojurescript
> The third pain point was the code bloat I was experiencing when developing 
> and testing angular.js code using javascript. It was very easy to complect 
> modules within large angular.js applications and I wanted to use clojure 
> syntax so that my code was smaller, more readable and easier to handle. 
> Purnam offers:
> 
> purnam.angular - a simple dsl for eliminating boilerplate angular.js
> purnam.test.angular - testing macros for eliminating more boilerplate test 
> code for services, controllers, directives and filters
> 
> Integrated Documentation
> The fourth pain point was the lack of documentation tools for clojurescript 
> as well as clojure. purnam is compatible with midje-doc so that the 
> integrated testing and documentation workflow can be also used in 
> clojurescript.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to