Sunday 15 February 2015

java - Developing a software framework - how to test it? -



java - Developing a software framework - how to test it? -

i'm developing framework simplifying development of client-server applications school project. developing using java.

the scope of project rather large, in short:

the server must manage multiple clients , able verify integrity the server must provide way develop tasks in pure java code , register them the client must able request tasks (without knowledge of code implementation) there must way transfer info generically between sockets (i.e. info type)

... , many more sub-points.

i'm bit stuck on how test framework 1 time begin developing it.

i thinking asking of peers implement simple test cases, using framework documentation guideline, how document this?

how can smartly test performance? naturally, want framework perform can. thinking profiling , see if can useful info that.

is possible quantify how much time saved using framework rather building functionality in add-on application's functionality?

something i'm not thinking about?

any help appreciated.

the entire testing approach big singe answer. since question quite broad, maybe it's improve split in couple of smaller , more concrete questions, provide design or code samples.

as origin - have topics,

scope of project

so can consider 4 basic , more used testing levels : unit testing, integration, system, , acceptance testing. applicable same testing types - regression, functional , non-functional (usability, security) testing.

since you'll main person responsible development can advice take @ test driven approach. help

about asking of peers implement simple test cases

in current situation the

smartly test performance

will related the communications , web-services, since it's nature lot more produce such problems, code itself.

thinking profiling it

is idea, deal bottlenecks not enough.

java testing

No comments:

Post a Comment