Open GoogleCodeExporter opened 9 years ago
+1!
Original comment by arn...@gmail.com
on 19 Nov 2008 at 11:38
I've managed to make a pom.xml file that builds AtUnit and runs all the tests
successfully. The downside is
that if it is used, it will pull in all of the optional deps of AtUnit. The
only way around that is to split the
project up into several modules, one module per framework, such as:
atunit-core, atunit-spring, atunit-
guice, atunit-easymock and atunit-jmock.
The atunit-core module would have to be independant of the other modules to
avoid cross deps. By the looks
of it, AtUnit.java refers directly to all of the "submodules", which means that
there is some refactoring that has
to be done.
I would like to get some input from Logan before I continue with this.
regards,
Guðmundur Bjarni
Original comment by gudmundu...@gmail.com
on 19 Nov 2008 at 11:42
Attachments:
I took this a bit further and forked the project onto github (using git-svn) to
track
all the changes I made.
I've broken AtUnit up into several Maven modules and changed a bit of code to
make
everything play nicely.
The most prominent change is that I killed off the Container.Option.* and
MockFramework.Option.*. I changed the @Container and @MockFramework annotations
so
that they behave in exactly the same way as @ContainerClass and
@MockFrameworkClass
did, thus making those annotations obsolete. This is a bit of an API breakage
but, a
simplification and improvement in my opinion.
If you want to check it out, head to: http://github.com/gudmundur/atunit
regards,
Guðmundur Bjarni
Original comment by aquato...@gmail.com
on 20 Nov 2008 at 1:22
any chance this will get into maven central one time? :)
Original comment by avithan@gmail.com
on 29 Nov 2010 at 8:06
Read this to embed a repository in your project in a few lines:
Neatest solution:
http://blog.dub.podval.org/2010/01/maven-in-project-repository.html
Original comment by basilt...@gmail.com
on 14 Jun 2012 at 12:07
Any chance we'll ever get a Maven artifact?
Original comment by exabr...@gmail.com
on 10 Jul 2012 at 3:06
Original issue reported on code.google.com by
gudmundu...@gmail.com
on 19 Nov 2008 at 10:30