So the obvious question that comes to mind is: why do you need to do this within Eclipse, rather than using an Android testing framework. Are you talking about whether or not the user *physically* created the code, rather than testing it actually worked?
I would give a word of warning against trying to do things that require parsing with Eclipse: it would be a huge amount of work to do this, it's much larger than an extension to the ADT. (And, working with Eclipse's representation of java code is rather horrible.) Kris On Fri, Sep 27, 2013 at 9:42 AM, Anirvan <[email protected]> wrote: > The question might appear a bit vague, so allow me to explain a bit. > > I'm part of a startup that is trying to build a way to set up an Android > tutorial, whereby, users also get to build a proper, functioning app > alongside. Unlike teaching web-based technologies, we can't emulate the > experience of building an android app on the web. > > For this, we were hoping to create a stub project, which our users would > download and then, we can devise ways to verify that users have correctly > performed certain actions, by modifying the "Run Configuration". However, we > haven't been able to find any useful hooks through which we can test for > correctness. > > By correctness, I mean some basic tests, like whether the user properly > created a list adapter, whether an edit box was created, whether the > textview showed up, etc. > > At this point, I wanted to ask if there are any good approaches I can try? I > thought of extending the ADT, or build a plugin for it. But that would be a > significant effort, and I'd like to exhaust any other alternatives before > diving into this. > > Thanks for reading! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

