After reading the documentation about metamask (https://github.com/trufflesuite/trufflesuite.com/blob/master/src/docs/truffle/getting-started/truffle-with-metamask.md) is not clear to me whether it's possible to reuse Truffle functional JS test code in final web apps.
I'm developing a "full-journey" truffle test code around my contracts simulating all use-cases of data from (web)clients to deployed contracts.
Has anyone any experience with this topic or best-pattern to create "reusable" test-code?
Edit: Looks like adding "npm install truffle-contract" to the client libraries is "mostly" all that needed. Then it will be a matter of parameterize the tests avoiding hard-coded values. Is that correct?