一句话:提出利用 Token 级输入共性来高效生成测试,以覆盖运行时调用和概率算法等动态行为。
软件在运行时会表现出多种动态行为,例如由运行时调用触发的行为,以及概率算法带来的非确定性行为。这些行为使测试复杂化:测试需要为调用提供有意义的输入,在运行时引入额外分支决策,并且相同输入可能产生不同结果。论文提出利用 Token 级输入共性来高效生成测试,以应对动态行为测试的挑战。其核心思想是从输入 Token 层面发现共同模式,从而复用或引导测试生成,降低为动态行为构造有效输入的成本。摘要未报告具体评估设置、基准与结果,因此评估重点应在于测试生成效率以及动态行为覆盖是否得到提升。
Software in the wild exhibits various computational efforts, such as dynamic behaviors arising from runtime invocations and nondeterministic behaviors introduced by probabilistic algorithms. These efforts complicate software testing because they require meaningful inputs for invocation, introduce additional branching decisions at runtime, and produce divergent outcomes for identical inputs.