[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mdt-bpmn2.dev] Working on the ecore merger tool
- From: Benedikt Ritter <beneritter@xxxxxxxxxxxxxx>
- Date: Thu, 29 Mar 2012 22:40:05 +0200
- Delivered-to: email@example.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=oxO6x808coWfBc2MgLy3vig+F8OKjOHu5tKhw0uPapA=; b=Fq7VfZT42u/Nbo0tjGn5lnaWR8C10xiHreb6nhcrooUay9RhAYxGxPQ3+i/ESo0Dqj BK66FUcajFWsBwqK+PXkCc6oOa9OlaAaXJwS4SObxUDTEVnDmSW9tBX8966XP0PwPFXz JcI8WxMJfHnVw+UhTB+hZrKAlc3dqe7vFAqMELtX1vRo7Vvwn+2fE2EjNHzOTFUqa4Zc f6V/sviIlKiTrdRDZPGa9SbT35iIAXb7CUmvPnRNLlurvD9EHOJQA4NuhdpeAYvvLOvr 0IxOA+Xw/kqXZq19KLsVHFZZS4UjQ9oFMRcBpB/TbQonlyfC7ocJBUTpESXgYAWdJPAD 6IGw==
I'm planning to put some effort on the ecore merger tool, since there
are several issues related with that tool (e.g.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=357088 or the discussed
splitting of the ecore model). However, I'm feeling uncomfortable,
touching the code because there are no unit tests. So the first thing
I want to do is to write some unit tests.
Now at my company we use maven. Maven has a convention for the project
structure, where unit tests reside in special source folder called
src/test/java. Since the ecore merger tool does not stick to this
convention, I do not know where to put my unit tests. I've seen the
test bundle but I don't think that it is the right place for the ecore
merger unit tests. So where should I put the tests?
After bulding up a basic test coverage (and ATM I don't know how much
effort that will be), I'd like to try to split the code up some more.
The processor has several concerns that it has to deal with, and it
would be good to separate concerns.