I have been developing JavaScript since many years, but I never thought about testing, developing and creating things, but I realized that this is very necessary. We just used the Subversion repository with a simple release tag (switching to git soon). As soon as a new project with a large JavaScript size appears (using jQuery), I would like to optimize the whole process.
I have already done some research, but have not found a good basic textbook.
It is definitely a good idea to split classes and individual code blocks into multiple js files, rather than a large one (like Prototype or jQuery does). These js files must be "embedded" in one file. How do I achieve this?
It is very necessary that the Unit-test material that my colleagues and I encode. I found js-test-driver that has an eclipse plugin that seems to be doing a good job. If my developer folder contains all these src- and src-test files, how do I integrate this into the build process?
source
share