<> <http://www.w3.org/2000/01/rdf-schema#comment> "The repository administrator has not yet configured an RDF license."^^<http://www.w3.org/2001/XMLSchema#string> . <> <http://xmlns.com/foaf/0.1/primaryTopic> <https://discovery.ucl.ac.uk/id/eprint/10070354> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/bibo/Article> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/title> "TestNMT: Function-to-test neural machine translation"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/abstract> "Test generation can have a large impact on the software engineering process by decreasing the amount of time and effort required to maintain a high level of test coverage. This increases the quality of the resultant software while decreasing the associated effort. In this paper, we present TestNMT, an experimental approach to test generation using neural machine translation. TestNMT aims to learn to translate from functions to tests, allowing a developer to generate an approximate test for a given function, which can then be adapted to produce the final desired test. We also present a preliminary quantitative and qualitative evaluation of TestNMT in both cross-project and within-project scenarios. This evaluation shows that TestNMT is potentially useful in the within-project scenario, where it achieves a maximum BLEU score of 21.2, a maximum ROUGE-L score of 38.67, and is shown to be capable of generating approximate tests that are easy to adapt to working tests."^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/date> "2018-11-04" . <https://discovery.ucl.ac.uk/id/document/867393> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/bibo/Document> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/volume> "4" . <https://discovery.ucl.ac.uk/id/org/ext-2af1883e4bbfa0356fcedb366171cb38> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Organization> . <https://discovery.ucl.ac.uk/id/org/ext-2af1883e4bbfa0356fcedb366171cb38> <http://xmlns.com/foaf/0.1/name> "ACM"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/publisher> <https://discovery.ucl.ac.uk/id/org/ext-2af1883e4bbfa0356fcedb366171cb38> . <https://discovery.ucl.ac.uk/id/publication/ext-9a4fc20079aea5f192ec721f04496531> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/bibo/Collection> . <https://discovery.ucl.ac.uk/id/publication/ext-9a4fc20079aea5f192ec721f04496531> <http://xmlns.com/foaf/0.1/name> "NL4SE 2018 - Proceedings of the 4th ACM SIGSOFT International Workshop on NLP for Software Engineering, Co-located with FSE 2018"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/isPartOf> <https://discovery.ucl.ac.uk/id/publication/ext-9a4fc20079aea5f192ec721f04496531> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/status> <http://purl.org/ontology/bibo/status/published> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/creator> <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/authorList> <https://discovery.ucl.ac.uk/id/eprint/10070354#authors> . <https://discovery.ucl.ac.uk/id/eprint/10070354#authors> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/creator> <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/authorList> <https://discovery.ucl.ac.uk/id/eprint/10070354#authors> . <https://discovery.ucl.ac.uk/id/eprint/10070354#authors> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.loc.gov/loc.terms/relators/EDT> <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/editorList> <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> . <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1> <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.loc.gov/loc.terms/relators/EDT> <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/editorList> <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> . <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_2> <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.loc.gov/loc.terms/relators/EDT> <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/editorList> <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> . <https://discovery.ucl.ac.uk/id/eprint/10070354#editors> <http://www.w3.org/1999/02/22-rdf-syntax-ns#_3> <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> . <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> <http://xmlns.com/foaf/0.1/givenName> "J"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> <http://xmlns.com/foaf/0.1/familyName> "Krinke"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-e1fd8098374affeaa515f6a0cb0b7084> <http://xmlns.com/foaf/0.1/name> "J Krinke"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> <http://xmlns.com/foaf/0.1/givenName> "Erik"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> <http://xmlns.com/foaf/0.1/familyName> "Fredericks"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-9229d738372b4ed6b9e373cd65bab135> <http://xmlns.com/foaf/0.1/name> "Erik Fredericks"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> <http://xmlns.com/foaf/0.1/givenName> "Yijun"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> <http://xmlns.com/foaf/0.1/familyName> "Yu"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-a7b5334a4fcaccd2ccf2982c02a1bd8d> <http://xmlns.com/foaf/0.1/name> "Yijun Yu"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> <http://xmlns.com/foaf/0.1/givenName> "R"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> <http://xmlns.com/foaf/0.1/familyName> "White"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-b507644494d0f8a3b29bed0f98276ee4> <http://xmlns.com/foaf/0.1/name> "R White"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> . <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> <http://xmlns.com/foaf/0.1/givenName> "Premkumar"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> <http://xmlns.com/foaf/0.1/familyName> "Devanbu"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/person/ext-93ba4d060651d16c17505525048835f3> <http://xmlns.com/foaf/0.1/name> "Premkumar Devanbu"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/bibo/Article> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/ontology/bibo/presentedAt> <https://discovery.ucl.ac.uk/id/event/ext-7a0fe5332e22567fc6d7656f20664e23> . <https://discovery.ucl.ac.uk/id/event/ext-7a0fe5332e22567fc6d7656f20664e23> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://purl.org/ontology/bibo/Conference> . <https://discovery.ucl.ac.uk/id/event/ext-7a0fe5332e22567fc6d7656f20664e23> <http://purl.org/dc/terms/title> "4th Workshop on NLP for Software Engineering (NL4SE18), 4 November 2018, Lake Buena Vista, FL, USA"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/EPrint> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/ProceedingsSectionEPrint> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/terms/isPartOf> <https://discovery.ucl.ac.uk/id/repository> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867393> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867393> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Text)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://purl.org/dc/elements/1.1/hasVersion> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasAccepted> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867393> <http://eprints.org/ontology/hasFile> <https://discovery.ucl.ac.uk/id/eprint/10070354/1/nl4se18.pdf> . <https://discovery.ucl.ac.uk/id/document/867393> <http://purl.org/dc/terms/hasPart> <https://discovery.ucl.ac.uk/id/eprint/10070354/1/nl4se18.pdf> . <https://discovery.ucl.ac.uk/id/eprint/10070354/1/nl4se18.pdf> <http://www.w3.org/2000/01/rdf-schema#label> "nl4se18.pdf"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867394> . <https://discovery.ucl.ac.uk/id/document/867394> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867394> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Other)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/document/867394> <http://eprints.org/relation/isVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867394> <http://eprints.org/relation/isVolatileVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867394> <http://eprints.org/relation/islightboxThumbnailVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867395> . <https://discovery.ucl.ac.uk/id/document/867395> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867395> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Other)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/document/867395> <http://eprints.org/relation/isVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867395> <http://eprints.org/relation/isVolatileVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867395> <http://eprints.org/relation/ispreviewThumbnailVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867396> . <https://discovery.ucl.ac.uk/id/document/867396> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867396> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Other)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/document/867396> <http://eprints.org/relation/isVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867396> <http://eprints.org/relation/isVolatileVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867396> <http://eprints.org/relation/ismediumThumbnailVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867397> . <https://discovery.ucl.ac.uk/id/document/867397> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867397> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Other)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/document/867397> <http://eprints.org/relation/isVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867397> <http://eprints.org/relation/isVolatileVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867397> <http://eprints.org/relation/issmallThumbnailVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://eprints.org/ontology/hasDocument> <https://discovery.ucl.ac.uk/id/document/867398> . <https://discovery.ucl.ac.uk/id/document/867398> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://eprints.org/ontology/Document> . <https://discovery.ucl.ac.uk/id/document/867398> <http://www.w3.org/2000/01/rdf-schema#label> "TestNMT: Function-to-test neural machine translation (Other)"^^<http://www.w3.org/2001/XMLSchema#string> . <https://discovery.ucl.ac.uk/id/document/867398> <http://eprints.org/relation/isVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867398> <http://eprints.org/relation/isVolatileVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/document/867398> <http://eprints.org/relation/isIndexCodesVersionOf> <https://discovery.ucl.ac.uk/id/document/867393> . <https://discovery.ucl.ac.uk/id/eprint/10070354> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <https://discovery.ucl.ac.uk/id/eprint/10070354/> . <https://discovery.ucl.ac.uk/id/eprint/10070354/> <http://purl.org/dc/elements/1.1/title> "HTML Summary of #10070354 \n\nTestNMT: Function-to-test neural machine translation\n\n" . <https://discovery.ucl.ac.uk/id/eprint/10070354/> <http://purl.org/dc/elements/1.1/format> "text/html" . <https://discovery.ucl.ac.uk/id/eprint/10070354/> <http://xmlns.com/foaf/0.1/primaryTopic> <https://discovery.ucl.ac.uk/id/eprint/10070354> .