由买买提看人间百态

topics

全部话题 - 话题: junit
首页 上页 1 2 3 4 5 6 7 8 (共8页)
g*****g
发帖数: 34805
1
recommend testng and mockito
M*****R
发帖数: 650
2
I am no Daniu, but I just finished transitioning from C++/C#/Windows
Platform to Java/Open Source Platform in last couple of years. There are a
few things I think that helped me a lot
- The two books: Core Java Volume I, Java Concurrency in Practice
- Read about dependency injection, from Spring to Guice
- Re-read a few design patterns
- Learn to use Java inner class and template pattern
- Read about JVM
- Don't focus too much on performance and memory management when coding
- Don't try to use l... 阅读全帖
g*****g
发帖数: 34805
3
来自主题: Programming版 - Java弱弱请救几个小问题
你应该每道题一个文件,不需要main。至于测试应该放进另一个文件里,用junit之类
的框架。这样
除了类名你的可以跟leetcode的代码长得一样。

的,
m*****r
发帖数: 37
4
来自主题: Programming版 - Java弱弱请救几个小问题
google JUnit小看了一下,与之前我mentor的python automation framework似曾相识啊
我再去仔细看看文档怎么搭,不懂呆会儿再上来问
m*****r
发帖数: 37
5
来自主题: Programming版 - Java弱弱请救几个小问题
你的public class里是不是也有方法的定义?
基实我对自已目前leetcode的这个架还挺满意的,写每个题只需要一个文件,可compile
可run,修改起来也很方便;
不过这个framework的流程概念还比较熟.如果我刷题之余能把JUnit这个架搭起来,是不
是就可以刷新local一次性代码的历史?

main)
ET
发帖数: 10701
6
来自主题: Programming版 - 有人用过J2Obc吗?
2ObjC is an open-source command-line tool from Google that translates Java
code to Objective-C for the iOS (iPhone/iPad) platform. This tool enables
Java code to be part of an iOS application's build, as no editing of the
generated files is necessary. The goal is to write an app's non-UI code (
such as data access, or application logic) in Java, which is then shared by
web apps (using GWT), Android apps, and iOS apps.
J2ObjC supports most Java language and runtime features required by client-
si... 阅读全帖
h**********c
发帖数: 4120
7
来自主题: Programming版 - 个人创业项目如何启动?
Stealth mode:
buy some cheap machines from new egg, prototyping.
One week.
IDE for client: Android Studio
IDE for server: You choose Anroid, so it is Java stack, any Java IDE
suffices.
build/debug system: Java IDE + Maven project management, you want to z-turn,
can use Gradle
code review: definition of requirements + Unit tests + documentation (this
is engineering, objective), code review is subjective
code search: gitweb
test framework: testNG/Junit + Jenkins/Teamcity
bug tracking: Jira, gitweb... 阅读全帖
s****y
发帖数: 503
8
我们现在正开始一个新的项目,想建立Agile的开发环境,主要过去他们都是用很老的
软件(像Clearcase)和Waterfall的流程,所以新项目的特点就是用现在主流的技术和
Agile的方式。
我的Mid-tier是J2EE + Restful + Web service,Frontend是iOS,用Native API开发
iPad,Backend和数据库是existing application。Java的开发环境是Eclipse + Maven
+ Nexus + WebSphere Liberty Profile。我们买了一台Mac Mini,把Jenkins和
Github都host在Mac上,Jenkins也能支持iOS。我们还买了Jira用于项目管理。
我现在这个环境是不是属于比较主流的Agile开发环境?还有什么可以提高的吗?
大家平时单元测试做的多吗?只用Junit吗?还用其他什么单元测试框架吗?
g*****g
发帖数: 34805
9
Maven -> gradle
JUnit -> testng, mockito, Spock
integration with cloud for continuous delivery, deployment
g*****g
发帖数: 34805
10
I once worked for IBM, and even then, we used open source like log4j, junit,
ant for our products.
No support is as good as readily available answers on stackoverflow, but it'
s your decision.
c*********e
发帖数: 16335
11
我也喜欢log4j,可以在log里看到最终的sql语句.

junit,
it'
s****y
发帖数: 503
12

junit,
it'
因为服务器是ibm维护的,所以我们每次只上传代码,所以用的framework必须是在
nexus里有的,log4j、json之类的库是有的,但是再复杂一些的估计就没有的。
x**n
发帖数: 461
13
来自主题: Programming版 - 问一个Chutzpah codecoverage 的问题
如果我在coverageExcludes 中加上 angular的话,所有的tests都会fail掉,因为找不
到angular。如果在coverageExcludes 中不加上 angular 的话,chutzpah 会fail 掉
, 因为 outofmemory。
命令行是:
"C:BuildsChutzpah.4.0.3toolschutzpah.console.exe" /silent /path C:
BuildsRediQualRediQual.Form1003.Web.Javascript.TestsTests /junit
JasmineJUnitReport.xml /coverage /coverageIncludes /coverageExcludes angular
*.js,jquery*.js,*Test.js
有人能提供一点建议,该怎么做吗?
t***0
发帖数: 4
14
最近试用了下intellij,有些地方确实不错-dark theme, 自动完成等比eclipse好很多
;但有些地方还是eclipse好,多项目,launch junit速度,deploy到tomcat速度等。
公司可以买license 在考虑要不要转用他家的
S**********5
发帖数: 896
15
【 以下文字转载自 JobHunting 讨论区 】
发信人: Strawberry25 (草莓糯米糍), 信区: JobHunting
标 题: 求大牛指点:Class JavaLaunchHelper is implemented in both
发信站: BBS 未名空间站 (Wed Dec 23 20:43:11 2015, 美东)
用的JDK 1.8, 今天运行Junit test case的时候突然不能运行了,出现错误:
objc[10012]: Class JavaLaunchHelper is implemented in both /Library/Java/
JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/bin/java and /Library/Java
/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/jre/lib/libinstrument.
dylib. One of the two will be used. Which one is undefi... 阅读全帖
a*f
发帖数: 1790
16
来自主题: Programming版 - 对L股价大跌的一点看法 (转载)
ScalaCheck的官方说明支持Java语言做property testing:
"ScalaCheck is a library written in Scala and used for automated property-
based testing of Scala or Java programs. "
quickcheck也支持Java
https://github.com/pholser/junit-quickcheck
因为Java语言的reflection特性支持这些功能。
一般Java应用中不搞这些测试。最多是一些function testing,重要的测试包括
shopping cart checkout process testing,business workflow process testing,
还有web page的508 testing,security testing等等,后面的这些就不是property
testing能cover的了。

unit
b*********4
发帖数: 271
17
大部分CS出来都是搞应用,编程挣钱,什么ASP。net,MVC,SSH之类,他属于
比较偏理论的computer science一块,很少有人写比较有趣的计算机理论方面的博客,
所以他的文章读起来还是很有意思的。
我估计他也就只能做个小模块,自己要搞个吸引大家的东西,那样的工程要很大的精力
投入,很可能一个人要做好几年,然后还要自己不停的去做营销,推广自己的东西,就
是开源也要推广的,要不然成名立腕太难了,太慢了。这就是他的淫语言做不下去的原
因。
批评人很简单,但是做个像JUNIT那样的东西也不难,难的是吸引大家注意,这个你妈
太难了。
他要自己搞个什么东东,很可能就没人注意,花几年时间就像扔到无底洞一样。
G*****D
发帖数: 490
18
来自主题: GeoSpace版 - Esri招Raster Product Engineer
公司有个opening,要求Raster背景和coding(c#/vb.net or python).细节如下:
http://www.esri.com/careers/main/job-detail?jobID=3538&term=Ful
=ArcGIS%20Product%20Engineering&location=Redlands,%20CA
RESPONSIBLITIES
Design, develop, and automate programmatic regression tests
Design, develop, and automate user interface tests
Design, document, and execute manual checklist testing
Design, document, and execute acceptance criteria workflows and user
scenarios
Analyze daily test results and report daily quality status
Col... 阅读全帖
g***s
发帖数: 3811
19
来自主题: Quant版 - 也说个好的
有兴趣的PM我,这个是比较senior的职位,刚毕业的应该希望不大。
Position Description:
Looking for a senior developer to join the Equity Derivatives Scenarios team
. The Scenarios team is responsible for calculating overnight risk for the
front office, including: traders, risk managers and Strats. These
calculations are performed for all regions running 24/5. The calculation
include various Scenarios, PnL Attribution/PnL Explain, and bucketed Greeks
that are too compute intensive for real-time risk, as well as Mark Review
an... 阅读全帖
k**l
发帖数: 2966
20
来自主题: Quant版 - 小公司招金融码工(NYC)
Responsibilities:
* Developing core components in C++
* Responsible for working with architecture team on core trading software
infrastructure.
* Collaborating with quantitative traders to design and test trading models
* Responsibility for creating system testing procedures.
* Salary is commensurate with experience.
Qualifications:
* Excellent communications skills
* 2+ years experience in C++ development
* Proficiency with GNU, or Intel C/C++ compilers
* Proficiency in socket programming
* Pro... 阅读全帖
I**A
发帖数: 2345
21
来自主题: _PerfectMoms版 - 用eclipse的同学们
自作孽啊,deny了access,JUnit也run不了。。
首页 上页 1 2 3 4 5 6 7 8 (共8页)