Testing is software development. Software development is writing code. Testing makes sure the code actually works, so in a nutshell: Testing is software development :-)
One major aspect of testing - especially during development and the Continuous Integration process, is static analysis.
See also Software Quality