---
title: "autotest的notify in Gnome"
author: "chenk85"
date: "2008-03-13T05:46:23Z"
tags: []
slug: "autotest-notify-in-gnome"
draft: false
lastmod: "2008-03-13T05:46:23Z"
id: 209297
url: "https://chenk85.iteye.com/blog/209297"
---

autotest是个方便的测试工具，ZenTest的组件之一，对Rspec支持很好。 在Peedcode的教学视频中很多时候看到作者用autotest时，测试结果会以桌面系统Notify的形式通知用户，每次看到都觉得好羡慕。其实在Gnome环境下的同学不用羡慕，因为在Gnome下也可以，把你Home目录下的.autotest文件（附件有），加入以下代码，并把附件中的图片文件放到Home下（把dot改为.）。