Skip to main content

Posts

My probe about Test Driven Development

Coding could be easy, but coding correctly is very hard. The problem I faced recently is:  every task assigned to me have to pass the most strict tests from QA. It becomes more and more important to adapt the method of test driven development. I don't have too much experience of using this method. If I made some mistake in my blog, let me know. Your suggestion will be mostly appreciated. Usually,  I will be assigned tasks by Jira(actually, by project manager if it's a one from him ; by QA if it's a defect or by someone else if they t...

a way to implement 'select any' or 'select one' condition

For the web development, usually, there will be a condition to let user to select the opition, e.g. option '1': case when the variable is 1 option '2': case when the variable is 2 option '3': case when the variable is 'any' - including 1,2 and others and in the backside,the sql could be ....  and regexp_like(DR.RESET_TYPE,NVL(:RESET_TYPE,'[12]'),'i'); Although this sql runs perfect as I imaged, our DBA is not happy with it. Because in that situation, he think  adding filter ' and regexp_like(DR.RESET_TYPE,NVL(:RESET_TYPE,'[12]'),'i');'.  is just wasting the oracle resource. So, What shall I do? Here is the solution, replacing .  and regexp_like(DR.RESET_TYPE,NV...

InfoQ: JDK 7 is Feature Complete

InfoQ: JDK 7 is Feature Complete he JDK 7 project says it has hit a major milestone, with the first feature complete build shipping in build 123. Henrik StÃ¥hl, who is responsible for product strategy in the Java Platform Group and is an official spokesperson for Oracle on Java SE,  blogged This means that development and QA have finished all planned feature and test development work in the release and are moving the focus to testing and bug fixing on all supported JDK 7 platforms. This is a major step towards JDK 7 General Availability (GA) and implies that we are tracking close to the plan published on openjdk.java.net. The OpenJDK website includes a  complete list of features , and shows those which have been deferred over to JDK 8 or later.  Mark Reinhold’s blog  lists a couple of features which are outstanding, which will be integrated post the Feature Complete release. These are the updated XML Stack and the Enhanced JMX Agent and MBeans. The late integration o...