Code Monkey home page Code Monkey logo

Comments (6)

aleafs avatar aleafs commented on July 22, 2024

这个代码的单元测试比较难做,要测进程的启动、停止。求方法 @q3boy

from pm.

fengmk2 avatar fengmk2 commented on July 22, 2024

还好吧。

from pm.

aleafs avatar aleafs commented on July 22, 2024

你看我覆盖率很低的,求指点,但是不要暴露private变量

from pm.

fengmk2 avatar fengmk2 commented on July 22, 2024

没问题,搞掂@ 你

from pm.

q3boy avatar q3boy commented on July 22, 2024

什么东东?测进程启动停止的话..我原来nae里面弄过.感觉也不是太麻烦啊.

On Sat, Jun 30, 2012 at 9:26 PM, aleafs <
[email protected]

wrote:

这个代码的单元测试比较难做,要测进程的启动、停止。求方法 @q3boy


Reply to this email directly or view it on GitHub:
https://github.com/aleafs/node-cluster/issues/12#issuecomment-6685235

from pm.

fengmk2 avatar fengmk2 commented on July 22, 2024

@aleafs 不容易啊,lib/worker.js 覆盖到90%了。

from pm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.