var should = require('chai').should();
var gongxi = require("../index");

describe("gongxi cli test for first test", function(done) {
  it("test for faCai function", function(done) {
    result = gongxi.faCai();
    result.should.be.a("string");
    result.should.be.equal("新年快樂");
    done();
  });
});
@@ -70,44 +70,116 @@
 %22);%0A
-%0Adescribe(%22gongxi cli test for first
+var cli = require(%22../bin/gongxi%22);%0Avar child_process = require(%22child_process%22);%0A%0Adescribe(%22gongxi main for
  tes
@@ -368,8 +368,349 @@
  %7D);%0A%7D);
+%0A%0Adescribe.only(%22gongxi cli test %22, function(done) %7B%0A  it(%22test for faCai cli%22, function(done) %7B%0A    var command = 'bin/gongxi faCai';%0A    child_process.exec(command, function(err, stdout, stderr) %7B%0A      if (err) return done(err);%0A%0A      stdout.should.be.a(%22string%22);%0A      stdout.should.be.equal(%22%E6%96%B0%E5%B9%B4%E5%BF%AB%E6%A8%82%5Cn%22);%0A      done();%0A    %7D);%0A  %7D);%0A%7D);%0A

add cli test