spice630
V2EX  ›  问与答

Java 程序员现在都用什么单元测试框架?

  •  
  •   spice630 · May 17, 2017 · 3594 views
    This topic created in 3465 days ago, the information mentioned may be changed or developed.
    5 replies  •  2017-05-18 06:45:24 +08:00
    letitbesqzr
    letitbesqzr
    May 17, 2017
    1
    junit 5, 因为 spring 支持的比较好。
    spice630
    spice630
    OP
    May 17, 2017
    2
    @letitbesqzr 这框架感觉很老了呀,有没有新的 更好的。
    letitbesqzr
    letitbesqzr
    May 17, 2017
    3
    @spice630 spring 也都十五年了,还那么火。不要一味追求"新", junit 现在和 spring 配合很强大,目前没遇到不能满足的情况
    spice630
    spice630
    OP
    May 17, 2017
    4
    @letitbesqzr
    有道理
    jssngz
    jssngz
    May 18, 2017 via Android
    5
    testng junit 是单元测试,testng 是集成测试。比 junit 功能更多,junit 有的功能,testng 都能找到对应功能。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   983 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:41 · PVG 06:41 · LAX 14:41 · JFK 17:41
    ♥ Do have faith in what you're doing.